wCMF
3.6
|
Public Member Functions | |
validate () | |
hasView () | |
executeKernel () | |
Public Member Functions inherited from Controller | |
Controller (&$delegate) | |
initialize (&$request, &$response) | |
validate () | |
hasView () | |
execute () | |
executeKernel () | |
getErrorMsg () | |
setErrorMsg ($msg) | |
appendErrorMsg ($msg) | |
& | getRequest () |
& | getResponse () |
& | getView () |
& | getDelegate () |
getViewTemplate ($controller, $context, $action) | |
getCacheId () | |
assignViewDefaults (&$view) | |
isLocalizedRequest () | |
Additional Inherited Members | |
Public Attributes inherited from Controller | |
$_request = null | |
$_response = null | |
$_errorMsg = '' | |
$_view = null | |
$_delegate = null | |
EditRightsController is used to edit rights on a resource.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Input actions:
Output actions:
[in,out] | oid | The resource to set the right on |
[out] | allroles | An array of names of all roles |
[out] | rights | A 2-dimensional array of defined rights: rights[configFile][action] |
[out] | rightnames | An array of all right names |
[out] | configfiles | An array of all config filenames |
Definition at line 45 of file class.EditRightsController.php.
EditRightsController::validate | ( | ) |
Definition at line 50 of file class.EditRightsController.php.
References Controller\setErrorMsg().
EditRightsController::hasView | ( | ) |
Definition at line 62 of file class.EditRightsController.php.
EditRightsController::executeKernel | ( | ) |
Definition at line 71 of file class.EditRightsController.php.
References ACTION_CREATE, ACTION_DELETE, ACTION_MODIFY, ACTION_READ, WCMFInifileParser\getIniFiles(), ObjectFactory\getInstance(), RightsManager\getInstance(), RIGHT_MODIFIER_ALLOW, and RIGHT_MODIFIER_DENY.