PHP Class LinksController

Inheritance: extends Controller
Exibir arquivo Open project: croogo/croogo Class Usage Examples

Public Properties

Property Type Description
$components array Components
$menuId string holds the current menu ID (if any)
$name string Controller name
$uses array Models used by the Controller

Public Methods

Method Description
admin_add ( integer $menuId = null ) : void Admin add
admin_delete ( integer $id = null ) : void Admin delete
admin_edit ( integer $id = null ) : void Admin edit
admin_index ( ) : void Admin index
admin_link_chooser ( )
admin_movedown ( integer $id, integer $step = 1 ) : void Admin movedown
admin_moveup ( integer $id, integer $step = 1 ) : void Admin moveup
admin_process ( integer $menuId = null ) : void Admin process
admin_toggle ( $id = null, $status = null ) : void Toggle Link status
afterConstruct ( ) afterConstruct
beforeFilter ( ) : void beforeFilter

Method Details

admin_add() public method

Admin add
public admin_add ( integer $menuId = null ) : void
$menuId integer
return void

admin_delete() public method

Admin delete
public admin_delete ( integer $id = null ) : void
$id integer
return void

admin_edit() public method

Admin edit
public admin_edit ( integer $id = null ) : void
$id integer
return void

admin_index() public method

Admin index
public admin_index ( ) : void
return void

admin_movedown() public method

Admin movedown
public admin_movedown ( integer $id, integer $step = 1 ) : void
$id integer
$step integer
return void

admin_moveup() public method

Admin moveup
public admin_moveup ( integer $id, integer $step = 1 ) : void
$id integer
$step integer
return void

admin_process() public method

Admin process
public admin_process ( integer $menuId = null ) : void
$menuId integer
return void

admin_toggle() public method

Toggle Link status
public admin_toggle ( $id = null, $status = null ) : void
$id string Link id
$status integer Current Link status
return void

afterConstruct() public method

afterConstruct
public afterConstruct ( )

beforeFilter() public method

beforeFilter
public beforeFilter ( ) : void
return void

Property Details

$components public_oe property

Components
public array $components
return array

$menuId public_oe property

holds the current menu ID (if any)
public string $menuId
return string

$name public_oe property

Controller name
public string $name
return string

$uses public_oe property

Models used by the Controller
public array $uses
return array