wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
EditRightsController Class Reference
+ Inheritance diagram for EditRightsController:

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
 

Detailed Description

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.

Id:
class.EditRightsController.php 1462 2014-02-04 23:52:27Z iherwig

Input actions:

  • save Save changes right to the current resource

Output actions:

  • ok In any case
Parameters
[in,out]oidThe resource to set the right on
[out]allrolesAn array of names of all roles
[out]rightsA 2-dimensional array of defined rights: rights[configFile][action]
[out]rightnamesAn array of all right names
[out]configfilesAn array of all config filenames
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 45 of file class.EditRightsController.php.

Member Function Documentation

EditRightsController::validate ( )
See Also
Controller::validate()

Definition at line 50 of file class.EditRightsController.php.

References Controller\setErrorMsg().

+ Here is the call graph for this function:

EditRightsController::hasView ( )
See Also
Controller::hasView()

Definition at line 62 of file class.EditRightsController.php.

EditRightsController::executeKernel ( )

Assign Node data to View.

Returns
False (Stop action processing chain).
See Also
Controller::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.

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: