PHP Class Controller_Admin_Base, kohana-admin

Inheritance: extends Controller_Template
Mostrar archivo Open project: vimofthevine/kohana-admin Class Usage Examples

Protected Properties

Property Type Description
$_acl_map Action-to-privilege ACL map
$_acl_required Actions requiring ACL checking
$_internal Internal or external request
$_internal_only Actions accessible as internal-only
$_resource ACL resource
$_resource_required Actions requiring a loaded resource
$_view_map Action-to-layout view map

Public Methods

Method Description
action_denied ( ) Controller-level access denial message for internal requests
after ( ) Handles internal/external request-specific view settings
before ( ) Sets up admin framework controllers

Protected Methods

Method Description
_load_resource ( ) Load a specific resource
_menu ( ) Generate menu

Method Details

_load_resource() protected method

Load a specific resource
protected _load_resource ( )

_menu() protected method

Generate menu
protected _menu ( )

action_denied() public method

Controller-level access denial message for internal requests
public action_denied ( )

after() public method

Handles internal/external request-specific view settings
public after ( )

before() public method

- Redirects invalid internal-only access requests to the admin main - Loads resources if required, and redirects if invalid - Performs ACL checking, and redirects if denied
public before ( )

Property Details

$_acl_map protected_oe property

Action-to-privilege ACL map
protected $_acl_map

$_acl_required protected_oe property

Actions requiring ACL checking
protected $_acl_required

$_internal protected_oe property

Internal or external request
protected $_internal

$_internal_only protected_oe property

Actions accessible as internal-only
protected $_internal_only

$_resource protected_oe property

ACL resource
protected $_resource

$_resource_required protected_oe property

Actions requiring a loaded resource
protected $_resource_required

$_view_map protected_oe property

Action-to-layout view map
protected $_view_map