eZPublish  3.8
policyedit.php File Reference

Variables

 $currentFunction = $policy->attribute( 'function_name' )
 
 $currentFunctionLimitations = array()
 
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(is_null($policy)) $currentModule = $policy->attribute( 'module_name' )
 
 $functions =& $mod->attribute( 'available_functions' )
 
if(isset($functions[$currentFunction])&&$functions[$currentFunction]) $http =& eZHttpTool::instance()
 
foreach(array_keys($currentFunctionLimitations)
as $key) 
$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()
 
 $policy = eZPolicy::fetch( $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 =& templateInit()
 
if($currentModule=="*" else )
 

Variable Documentation

$currentFunction = $policy->attribute( 'function_name' )
$currentFunctionLimitations = array()
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 (is_null($policy)) $currentModule = $policy->attribute( 'module_name' )
if (isset($functions[$currentFunction])&&$functions[$currentFunction]) $http =& eZHttpTool::instance()
$limitationValueList =& $policy->limitationList()
$Module =& $Params["Module"]
if ($http->hasPostVariable("DeleteNodeButton")) if ($http->hasPostVariable("DeleteSubtreeButton")) $nodeIDList = array()
$nodeLimitation = eZPolicyLimitation::fetchByIdentifier( $policyID, "Node" )
$Result = array()
$Result['path']
Initial value:
= array( array( 'url' => false,
'text' => ezi18n( 'kernel/role', 'Editing policy' ) ) )
$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 =& templateInit()
if ($currentModule=="*" else)
Initial value:
{
& exists($moduleName, $pathList=null)
Definition: ezmodule.php:1356
if(is_null($policy)) $currentModule
Definition: policyedit.php:51