|
eZ Publish
[trunk]
|
Go to the source code of this file.
Variables | |
| if($role===null) | $http = eZHTTPTool::instance() |
| $ini = eZINI::instance( 'module.ini' ) | |
| $Module = $Params['Module'] | |
| $modules = $ini->variable( 'ModuleSettings', 'ModuleList' ) | |
| $noFunctions = false | |
| $noLimitations = false | |
| $policies = $role->attribute( 'policies' ) | |
| $Result = array() | |
| $Result ['path'] | |
| $Result ['content'] = $tpl->fetch( 'design:role/edit.tpl' ) | |
| $role = eZRole::fetch( 0, $roleID ) | |
| $roleID = $Params['RoleID'] | |
| $showFunctions = false | |
| $showLimitations = false | |
| if($http->hasPostVariable( 'NewName')&&$role->attribute( 'name')!=$http->postVariable( 'NewName')) | $showModules = true |
| $tpl = eZTemplate::factory() | |
| if($http->hasPostVariable( 'Apply')) if($http-> hasPostVariable( 'Discard')) if($http->hasPostVariable( 'ChangeRoleName')) if($http-> hasPostVariable( 'AddModule')) if($http->hasPostVariable( 'AddFunction')) if($http-> hasPostVariable( 'AddLimitation')) if($http-> hasPostVariable( 'RemovePolicy')) if($http->hasPostVariable( 'RemovePolicies') and $http-> hasPostVariable( 'DeleteIDArray')) if($http-> hasPostVariable( 'CustomFunction')) if($http-> hasPostVariable( 'DiscardFunction')) if($http-> hasPostVariable( 'SelectButton') or $http->hasPostVariable( 'BrowseCancelButton') or $http-> hasPostVariable( 'Limitation') or $http->hasPostVariable( 'SelectedNodeIDArray') or $http->hasPostVariable( 'BrowseLimitationNodeButton') or $http->hasPostVariable( 'DeleteNodeButton') or $http-> hasPostVariable( 'BrowseLimitationSubtreeButton') or $http->hasPostVariable( 'DeleteSubtreeButton')) if($http-> hasPostVariable( 'DiscardLimitation')||$http-> hasPostVariable( 'Step2')) if($http-> hasPostVariable( 'CreatePolicy')||$http-> hasPostVariable( 'Step1')) if($http-> hasPostVariable( 'CancelPolicyButton')) $http-> setSessionVariable( 'RoleWasChanged' | false |
| if ($role===null) $http = eZHTTPTool::instance() |
Definition at line 36 of file role/edit.php.
| $ini = eZINI::instance( 'module.ini' ) |
Definition at line 13 of file role/edit.php.
| $Module = $Params['Module'] |
Definition at line 10 of file role/edit.php.
| $modules = $ini->variable( 'ModuleSettings', 'ModuleList' ) |
Definition at line 14 of file role/edit.php.
Referenced by ezpTopologicalSort\__construct().
| $noFunctions = false |
Definition at line 56 of file role/edit.php.
| $noLimitations = false |
Definition at line 57 of file role/edit.php.
| $policies = $role->attribute( 'policies' ) |
Definition at line 719 of file role/edit.php.
Referenced by eZRole\accessArray(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), eZContentClass\canInstantiateClassList(), eZContentObject\checkAccess(), eZContentObjectTreeNode\checkAccess(), eZSectionFunctionCollection\fetchRoles(), eZRole\policyList(), and eZSiteInstaller\updateRoles().
| $Result = array() |
Definition at line 736 of file role/edit.php.
| $Result['path'] |
array( array( 'text' => 'Role', 'url' => 'role/list' ), array( 'text' => $role->attribute( 'name' ), 'url' => false ) )
Definition at line 737 of file role/edit.php.
| $Result['content'] = $tpl->fetch( 'design:role/edit.tpl' ) |
Definition at line 742 of file role/edit.php.
| $role = eZRole::fetch( 0, $roleID ) |
Definition at line 17 of file role/edit.php.
| $roleID = $Params['RoleID'] |
Definition at line 11 of file role/edit.php.
| $showFunctions = false |
Definition at line 54 of file role/edit.php.
| $showLimitations = false |
Definition at line 55 of file role/edit.php.
| if ($http->hasPostVariable( 'NewName')&&$role->attribute( 'name')!=$http->postVariable( 'NewName')) $showModules = true |
Definition at line 53 of file role/edit.php.
| $tpl = eZTemplate::factory() |
Definition at line 9 of file role/edit.php.
| if ($http->hasPostVariable( 'Apply')) if ($http->hasPostVariable( 'Discard')) if ($http->hasPostVariable( 'ChangeRoleName')) if ($http->hasPostVariable( 'AddModule')) if ($http->hasPostVariable( 'AddFunction')) if ($http->hasPostVariable( 'AddLimitation')) if ($http->hasPostVariable( 'RemovePolicy')) if ($http->hasPostVariable( 'RemovePolicies') and $http->hasPostVariable( 'DeleteIDArray')) if ($http->hasPostVariable( 'CustomFunction')) if ($http->hasPostVariable( 'DiscardFunction')) if ($http->hasPostVariable( 'SelectButton') or $http->hasPostVariable( 'BrowseCancelButton') or $http->hasPostVariable( 'Limitation') or $http->hasPostVariable( 'SelectedNodeIDArray') or $http->hasPostVariable( 'BrowseLimitationNodeButton') or $http->hasPostVariable( 'DeleteNodeButton') or $http->hasPostVariable( 'BrowseLimitationSubtreeButton') or $http->hasPostVariable( 'DeleteSubtreeButton')) if ($http->hasPostVariable( 'DiscardLimitation')||$http->hasPostVariable( 'Step2')) if ($http->hasPostVariable( 'CreatePolicy')||$http->hasPostVariable( 'Step1')) if ($http->hasPostVariable( 'CancelPolicyButton')) $http->setSessionVariable( 'RoleWasChanged' false |
Definition at line 716 of file role/edit.php.