library/Dot/Acl.php

Properties

Description

DotBoost Technologies Inc.

DotKernel Application Framework


Classes

Dot_Acl

Properties

 
 
No 
No 

Description

Control user access in DotKernel application access control list (ACL)

Methods

__construct, _addResources, _addRoles, getRoles, isAllowed,

__construct( ) : Dot_Acl

Description

Dot_Acl constructor.

Make the proper initializations, set roles, resources and permisssions using Zend_Acl


Return value

Type Description
Dot_Acl

Tags

Name Description
access public

_addResources( ) : void

Description

Add resources and permissions to ACL

Return value

Type Description
void

Tags

Name Description
access private

_addRoles( ) : void

Description

Add roles to ACL

Return value

Type Description
void

Tags

Name Description
access private

getRoles( ) : array

Description

Get ACL roles

Return value

Type Description
array

Tags

Name Description
access public

isAllowed( string   $role, ) : bool

Description

Check if role is allowed to a resource(controller, action)

Arguments

Name Type Description Default
$role string

Return value

Type Description
bool

Tags

Name Description
access public
Documentation was generated by DocBlox.

Packages

  • Admin
    • Admin
      Admin Model Here are all the actions related to the user
    • Admin_View
      Admin View Class class that prepare output related to User controller
    • System
      System Model Here are all the actions related to the system settings
    • System_View
      System View Class class that prepare output related to User controller
    • User
      User Model Here are all the actions related to the user
    • User_View
      User View Class class that prepare output related to User controller
    • View
      Admin View abstract over the Dot_Template class
  • DotKernel
    • DotLibrary
    • Frontend
      • Page
        Page Model Dummy class, is not doing anything
      • Page
        Page Model Dummy class, is not doing anything yet
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • User
        User Model Here are all the actions related to the user
      • User_View
        User View Class class that prepare output related to User controller
      • View
        View Model abstract over the Dot_Template class
    • Mobile
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • View
        View Model abstract over the Dot_Template class
    • Rss
      • Sample
        Sample Model Here are all the actions related to the Sample
      • Sample_View
        Sample View Class
      • View
        View class - used for outputting rss content