Class Mage_Api2_Model_Acl_Global_Rule_Tree
API2 acl global rule tree
- Mage_Core_Helper_Abstract
-
Mage_Api2_Model_Acl_Global_Rule_Tree
Package: Mage\Api2
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Api2/Model/Acl/Global/Rule/Tree.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Api2/Model/Acl/Global/Rule/Tree.php
public
|
|
protected
|
|
public
array
|
|
public
boolean
|
|
public
array
|
|
protected
array
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
#
_addAttribute( array & $item, Varien_Simplexml_Element $node, string $name, string $privilege )
Add privileges |
protected
integer
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
setHasEntityOnlyAttributes( boolean $hasEntityOnlyAttributes )
Set has entity only attributes flag |
public
boolean
|
string |
TYPE_ATTRIBUTE
|
'attribute' |
#
Tree types |
string |
TYPE_PRIVILEGE
|
'privilege' |
|
string |
NAME_CHILDREN
|
'children' |
#
Names |
string |
NAME_PRIVILEGE
|
'privilege' |
|
string |
NAME_OPERATION
|
'operation' |
|
string |
NAME_ATTRIBUTE
|
'attribute' |
|
string |
NAME_RESOURCE
|
'resource' |
|
string |
NAME_RESOURCE_GROUPS
|
'resource_groups' |
|
string |
NAME_GROUP
|
'group' |
|
string |
ID_SEPARATOR
|
'-' |
#
Separator for tree ID |
protected
|
$_role |
|
#
Role |
protected
array
|
$_resourcesPermissions |
|
#
Resources permissions |
protected
Varien_Simplexml_Element
|
$_resourcesConfig |
|
#
Resources from config model |
protected
array
|
$_existPrivileges |
|
#
Exist privileges |
protected
array
|
$_existOperations |
|
#
Exist operations |
protected
string
|
$_type |
|
#
Tree type |
protected
boolean
|
$_initialized | false |
#
Initialized |
protected
boolean
|
$_hasEntityOnlyAttributes | false |
#
Flag if resource has entity only attributes |
$_layout,
$_moduleName,
$_request
|