Acl.php

Classes 
Classes
Kwf_Acl

\Kwf_Acl

Extends from
\Zend_Acl
Properties
$_componentAcl
$_componentAclClass
$_kwcResourcesLoaded
Methods
__construct
_compareMenuConfig
_compareMenuConfigOrder
_getRoleRegistry
allow
clearCache
getAdditionalRoles
getAllResources
getAllowedEditResourceRoleIdsByRole
getAllowedEditRolesByRole
getComponentAcl
getInstance
getMenuConfig
getResources
getRoles
isAllowed
isAllowedComponent
isAllowedComponentById
isAllowedUser
loadKwcResources
setComponentAcl
setComponentAclClass
setParentResource

Properties

$_componentAcl

\Kwf_Component_Acl $_componentAcl = ''

Details

\Kwf_Component_Acl
visibility
protected
default
final
false
static
false

$_componentAclClass

 $_componentAclClass = 'Kwf_Component_Acl'

Details

visibility
protected
default
Kwf_Component_Acl
final
false
static
false

$_kwcResourcesLoaded

 $_kwcResourcesLoaded = 'false'

Details

visibility
protected
default
false
final
false
static
false

Methods

__construct

__construct( ) :
Details
visibility
public
final
false
static
false

_compareMenuConfig

_compareMenuConfig(  $a,  $b ) :
Arguments
$a
$b
Details
visibility
public
final
false
static
true

_compareMenuConfigOrder

_compareMenuConfigOrder(  $first,  $second ) :
Arguments
$first
$second
Details
visibility
public
final
false
static
true

_getRoleRegistry

_getRoleRegistry( ) :
Details
visibility
protected
final
false
static
false

allow

allow(  $roles = null,  $resources = null,  $privileges = null,  $assert = null ) :
Arguments
$roles
$resources
$privileges
$assert
Details
visibility
public
final
false
static
false

clearCache

clearCache( ) :
Details
visibility
public
final
false
static
true

getAdditionalRoles

getAdditionalRoles( ) :
Details
visibility
public
final
false
static
false

getAllResources

getAllResources( ) :
Details
visibility
public
final
false
static
false

getAllowedEditResourceRoleIdsByRole

getAllowedEditResourceRoleIdsByRole(  $role ) :
Arguments
$role
Details
visibility
public
final
false
static
false

getAllowedEditRolesByRole

getAllowedEditRolesByRole(  $role ) :
Arguments
$role
Details
visibility
public
final
false
static
false

getComponentAcl

getComponentAcl( ) :
Details
visibility
public
final
false
static
false

getInstance

getInstance( ) :
Details
visibility
public
final
false
static
true

getMenuConfig

getMenuConfig(  $user ) :
Arguments
$user
Details
visibility
public
final
false
static
false

getResources

getResources(  $parent = null ) :
Arguments
$parent
Details
visibility
public
final
false
static
false

getRoles

getRoles( ) :
Details
visibility
public
final
false
static
false

isAllowed

isAllowed(  $role = null,  $resource = null,  $privilege = null ) :
Arguments
$role
$resource
$privilege
Details
visibility
public
final
false
static
false

isAllowedComponent

isAllowedComponent(  $class,  $authData ) :
Arguments
$class
$authData
Details
visibility
public
final
false
static
false

isAllowedComponentById

isAllowedComponentById(  $componentId,  $class,  $authData ) :
Arguments
$componentId
$class
$authData
Details
visibility
public
final
false
static
false

isAllowedUser

isAllowedUser(  $user,  $resource = null,  $privilege = null ) :
Arguments
$user
$resource
$privilege
Details
visibility
public
final
false
static
false

loadKwcResources

loadKwcResources( ) :

Lädt Resourcen die von Komponenten kommen.

Muss extra aufgerufen werden wenn diese Resourcen benötigt werden, aus performance gründen

Details
visibility
public
final
false
static
false

setComponentAcl

setComponentAcl(  $componentAcl ) :
Arguments
$componentAcl
Details
visibility
public
final
false
static
false

setComponentAclClass

setComponentAclClass(  $class ) :
Arguments
$class
Details
visibility
public
final
false
static
false

setParentResource

setParentResource(  $resource,  $parent ) :
Arguments
$resource
$parent
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.12.3.