|
eZ Publish
[trunk]
|
Go to the source code of this file.
Functions | |
| processDropdownLimitations (&$policy, $currentModule, $currentFunction, $currentFunctionLimitations) | |
| Applies the POST submitted limitations as found in the dropdowns. | |
Variables | |
| $currentFunction = $policy->attribute( 'function_name' ) | |
| if($http->hasPostVariable( 'DiscardChange')) if($http-> hasPostVariable( 'UpdatePolicy')) if($http->hasPostVariable( 'BrowseLimitationNodeButton')) if($http->hasPostVariable( 'BrowseLimitationSubtreeButton')) if($http->hasPostVariable( 'SelectedNodeIDArray') and $http->postVariable( 'BrowseActionName')== 'FindLimitationNode'and!$http-> hasPostVariable( 'BrowseCancelButton')) if($http-> hasPostVariable( 'SelectedNodeIDArray') and $http->postVariable( 'BrowseActionName')== 'FindLimitationSubtree'and!$http-> hasPostVariable( 'BrowseCancelButton')) | $currentLimitationList = array() |
| if($policy===null) | $currentModule = $policy->attribute( 'module_name' ) |
| if(isset($functions[$currentFunction])&&$functions[$currentFunction]) | $http = eZHTTPTool::instance() |
| foreach($currentFunctionLimitations as $currentFunctionLimitation) | $limitationList = eZPolicyLimitation::fetchByPolicyID( $policyID ) |
| $limitationValueList = $policy->limitationList() | |
| $Module = $Params['Module'] | |
| if($http->hasPostVariable( 'DeleteNodeButton')) if($http-> hasPostVariable( 'DeleteSubtreeButton')) | $nodeIDList = array() |
| $nodeLimitation = eZPolicyLimitation::fetchByIdentifier( $policyID, 'Node' ) | |
| $nodeList = array() | |
| $originalPolicyID = $policy->attribute( 'original_id' ) | |
| $policy = eZPolicy::fetchTemporaryCopy( $policyID ) | |
| $policyID = $Params['PolicyID'] | |
| $Result = array() | |
| $Result ['path'] | |
| $Result ['content'] = $tpl->fetch( 'design:role/policyedit.tpl' ) | |
| $role = eZRole::fetch( $roleID ) | |
| $roleID = $policy->attribute( 'role_id' ) | |
| $roleName = $role->attribute( 'name' ) | |
| if($nodeLimitation!=null) | $subtreeLimitation = eZPolicyLimitation::fetchByIdentifier( $policyID, 'Subtree' ) |
| $subtreeList = array() | |
| $tpl = eZTemplate::factory() | |
| processDropdownLimitations | ( | &$ | policy, |
| $ | currentModule, | ||
| $ | currentFunction, | ||
| $ | currentFunctionLimitations | ||
| ) |
Applies the POST submitted limitations as found in the dropdowns.
| eZPolicy | $policy | |
| string | $currentModule | |
| string | $currentFunction | |
| array | $currentFunctionLimitations |
Definition at line 348 of file policyedit.php.
| $currentFunction = $policy->attribute( 'function_name' ) |
Definition at line 22 of file policyedit.php.
Referenced by eZPolicyLimitation\allValuesAsArrayWithNames().
| if ($http->hasPostVariable( 'DiscardChange')) if ($http->hasPostVariable( 'UpdatePolicy')) if ($http->hasPostVariable( 'BrowseLimitationNodeButton')) if ($http->hasPostVariable( 'BrowseLimitationSubtreeButton')) if ($http->hasPostVariable( 'SelectedNodeIDArray') and $http->postVariable( 'BrowseActionName')== 'FindLimitationNode'and!$http->hasPostVariable( 'BrowseCancelButton')) if ($http->hasPostVariable( 'SelectedNodeIDArray') and $http->postVariable( 'BrowseActionName')== 'FindLimitationSubtree'and!$http->hasPostVariable( 'BrowseCancelButton')) $currentLimitationList = array() |
Definition at line 299 of file policyedit.php.
| if ($policy===null) $currentModule = $policy->attribute( 'module_name' ) |
Definition at line 21 of file policyedit.php.
Referenced by eZPolicyLimitation\allValuesAsArrayWithNames().
| if (isset($functions[$currentFunction])&&$functions[$currentFunction]) $http = eZHTTPTool::instance() |
Definition at line 62 of file policyedit.php.
| foreach ($currentFunctionLimitations as $currentFunctionLimitation) $limitationList = eZPolicyLimitation::fetchByPolicyID( $policyID ) |
Definition at line 305 of file policyedit.php.
Referenced by eZRole\accessArrayByUserID(), eZContentObjectTreeNode\calendar(), eZOrder\canModifyStatus(), eZPackage\canUsePackagePolicyFunction(), eZContentObjectVersion\checkAccess(), eZContentObject\checkAccess(), eZContentObjectTreeNode\checkAccess(), eZContentObjectTreeNode\createPermissionCheckingSQL(), eZContentObjectTreeNode\createPermissionCheckingSQLString(), eZPackageCreationHandler\creatorList(), eZContentFunctionCollection\fetchKeyword(), eZContentFunctionCollection\fetchKeywordCount(), eZPackage\fetchMaintainerRoleIDList(), eZContentObjectTreeNode\getLimitationList(), eZContentObjectState\limitationList(), eZContentObjectTreeNode\removeSubtrees(), eZSearchEngine\search(), eZOrder\statusModificationList(), eZContentStructureTreeOperator\subTree(), eZContentObjectTreeNode\subTreeByNodeID(), eZContentObjectTreeNode\subTreeCountByNodeID(), eZContentObjectTreeNode\subTreeMultiPaths(), and eZContentObjectTrashNode\trashList().
| $limitationValueList = $policy->limitationList() |
Definition at line 26 of file policyedit.php.
Referenced by eZPolicyLimitation\allValuesAsArrayWithNames(), eZContentObject\checkGroupLimitationAccess(), and processDropdownLimitations().
| $Module = $Params['Module'] |
Definition at line 9 of file policyedit.php.
| if ($http->hasPostVariable( 'DeleteNodeButton')) if ($http->hasPostVariable( 'DeleteSubtreeButton')) $nodeIDList = array() |
Definition at line 109 of file policyedit.php.
| $nodeLimitation = eZPolicyLimitation::fetchByIdentifier( $policyID, 'Node' ) |
Definition at line 110 of file policyedit.php.
| $nodeList = array() |
Definition at line 27 of file policyedit.php.
Referenced by eZContentCacheManager\appendChildrenNodeIDs(), eZContentCacheManager\appendNodeIDs(), eZContentCacheManager\appendSiblingsNodeIDs(), eZSubtreeCache\cleanup(), eZContentCache\cleanup(), eZSubtreeCache\cleanupByNodeIDs(), eZContentCacheManager\clearObjectViewCache(), eZContentCacheManager\clearTemplateBlockCache(), eZTemplateNodeTool\extractNodes(), eZContentObjectTreeNode\fetchAliasesFromNodeList(), eZRSSExportItem\fetchNodeList(), eZContentCacheManager\fetchNodePathString(), eZObjectRelationType\fetchObjectAttributeHTTPInput(), eZContentFunctionCollection\fetchSameClassAttributeNodeList(), eZContentObjectPackageCreator\finalize(), eZStaticCache\generateNodeListCache(), eZContentObjectPackageCreator\generatePackageInformation(), eZContentObjectPackageHandler\handleParameters(), eZContentObjectAssignmentHandler\nodeIDList(), eZContentCacheManager\nodeList(), eZContentCacheManager\nodeListForObject(), eZContentObjectAssignmentHandler\setupAssignments(), eZContentObjectVersion\unserialize(), eZContentObject\unserialize(), and eZContentObjectTreeNode\unserialize().
| $originalPolicyID = $policy->attribute( 'original_id' ) |
Definition at line 14 of file policyedit.php.
| $policy = eZPolicy::fetchTemporaryCopy( $policyID ) |
Definition at line 12 of file policyedit.php.
Referenced by eZContentObject\allowedAssignStateIDList(), eZPolicyLimitation\allValuesAsArrayWithNames(), eZRole\appendPolicy(), eZWebDAVContentBackendAuth\authorize(), eZUser\canAssignSection(), eZUser\canAssignSectionList(), eZUser\canAssignSectionToClassList(), eZUser\canAssignSectionToObject(), eZUser\canAssignToObjectSectionList(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), eZContentClass\canInstantiateClassList(), eZUser\canLoginToSiteAccess(), eZSubtreeNotificationRule\checkObjectAccess(), eZContentObject\classListFromPolicy(), eZContentObjectTreeNode\classListFromPolicy(), eZRole\cleanupByNode(), eZRole\copyPolicies(), eZPolicy\create(), eZPolicy\createNew(), eZSectionFunctionCollection\fetchRoles(), eZPolicy\fetchTemporaryCopy(), eZTopMenuOperator\modify(), processDropdownLimitations(), eZPolicy\removeByID(), eZRole\removePolicies(), eZRole\removePolicy(), eZRole\removeThis(), eZSiteInstaller\updateRoles(), and eZWebDAVContentServer\userHasSiteAccess().
| $policyID = $Params['PolicyID'] |
Definition at line 10 of file policyedit.php.
Referenced by eZSubtreeNotificationRule\checkObjectAccess(), eZPolicyLimitation\copy(), eZPolicyLimitation\create(), eZPolicyLimitation\createNew(), eZPolicy\fetch(), eZPolicyLimitation\fetchByIdentifier(), eZPolicyLimitation\fetchByPolicyID(), eZPolicy\fetchTemporaryCopy(), eZSubtreeNotificationRule\fetchUserList(), eZUserFunctionCollection\fetchUserRole(), and eZPolicyLimitationValue\removeByValue().
| $Result = array() |
Definition at line 333 of file policyedit.php.
| $Result['path'] |
array( array( 'url' => false, 'text' => ezpI18n::tr( 'kernel/role', 'Editing policy' ) ) )
Definition at line 335 of file policyedit.php.
| $Result['content'] = $tpl->fetch( 'design:role/policyedit.tpl' ) |
Definition at line 337 of file policyedit.php.
| $role = eZRole::fetch( $roleID ) |
Definition at line 24 of file policyedit.php.
| $roleID = $policy->attribute( 'role_id' ) |
Definition at line 23 of file policyedit.php.
| $roleName = $role->attribute( 'name' ) |
Definition at line 25 of file policyedit.php.
Referenced by eZSiteInstaller\addPoliciesForRole(), eZSiteInstaller\assignUserToRole(), eZRole\create(), eZRole\fetchByName(), eZPackage\fetchMaintainerRoleList(), eZPackage\maintainerRoleListForRoles(), eZSiteInstaller\removePoliciesForRole(), and eZSiteInstaller\updateRoles().
| if ($nodeLimitation!=null) $subtreeLimitation = eZPolicyLimitation::fetchByIdentifier( $policyID, 'Subtree' ) |
Definition at line 125 of file policyedit.php.
| $subtreeList = array() |
Definition at line 28 of file policyedit.php.
| $tpl = eZTemplate::factory() |
Definition at line 320 of file policyedit.php.