|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilCtrlStructure holds the currently read control structure. More...
Inheritance diagram for ilCtrlStructure:
Collaboration diagram for ilCtrlStructure:Public Member Functions | |
| __construct (array $ctrl_structure, array $base_classes, array $security_info) | |
| ilCtrlStructure Constructor More... | |
| isBaseClass (string $class_name) | |
| getObjNameByCid (string $cid) | |
| getObjNameByName (string $class_name) | |
| getClassNameByCid (string $cid) | |
| getClassCidByName (string $class_name) | |
| getRelativePathByName (string $class_name) | |
| getRelativePathByCid (string $cid) | |
| getChildrenByCid (string $cid) | |
| getChildrenByName (string $class_name) | |
| getParentsByCid (string $cid) | |
| getParentsByName (string $class_name) | |
| setPermanentParameterByClass (string $class_name, string $parameter_name) | |
| removePermanentParametersByClass (string $class_name) | |
| getPermanentParametersByClass (string $class_name) | |
| setTemporaryParameterByClass (string $class_name, string $parameter_name, $value) | |
| removeTemporaryParametersByClass (string $class_name) | |
| getTemporaryParametersByClass (string $class_name) | |
| removeSingleParameterByClass (string $class_name, string $parameter_name) | |
| setReturnTargetByClass (string $class_name, string $target_url) | |
| getReturnTargetByClass (string $class_name) | |
| getUnsafeCommandsByCid (string $cid) | |
| getUnsafeCommandsByName (string $class_name) | |
| getSafeCommandsByCid (string $cid) | |
| getSafeCommandsByName (string $class_name) | |
Private Member Functions | |
| getValueForKeyByCid (string $identifier_key, string $cid) | |
| Returns a stored structure value of the given key from the corresponding class mapped by CID. More... | |
| getValueForKeyByName (string $identifier_key, string $class_name) | |
| Returns a stored structure value of the given key from the corresponding class mapped by name. More... | |
| lowercase (string $string) | |
| Helper function to lowercase strings. More... | |
Private Attributes | |
| const | PARAM_NAME_REGEX = '/^[A-Za-z0-9_-]*$/' |
| array | $temporary_parameters = [] |
| array | $permanent_parameters = [] |
| array | $return_targets = [] |
| array | $structure |
| array | $base_classes |
| array | $security |
| array | $mapped_structure = [] |
Additional Inherited Members | |
Data Fields inherited from ilCtrlStructureInterface | |
| const | KEY_CLASS_CID = 'cid' |
| array key constants that are used for certain information. More... | |
| const | KEY_CLASS_PATH = 'class_path' |
| const | KEY_CLASS_NAME = 'class_name' |
| const | KEY_CLASS_CID_PATHS = 'cid_paths' |
| const | KEY_CLASS_PARENTS = 'parents' |
| const | KEY_CLASS_CHILDREN = 'children' |
| const | KEY_UNSAFE_COMMANDS = 'unsafe_commands' |
| const | KEY_SAFE_COMMANDS = 'safe_commands' |
Class ilCtrlStructure holds the currently read control structure.
Definition at line 12 of file class.ilCtrlStructure.php.
| ilCtrlStructure::__construct | ( | array | $ctrl_structure, |
| array | $base_classes, | ||
| array | $security_info | ||
| ) |
ilCtrlStructure Constructor
| array | $ctrl_structure | |
| array | $base_classes | |
| array | $security_info |
Definition at line 71 of file class.ilCtrlStructure.php.
References $base_classes.
| ilCtrlStructure::getChildrenByCid | ( | string | $cid | ) |
Implements ilCtrlStructureInterface.
Definition at line 149 of file class.ilCtrlStructure.php.
References getValueForKeyByCid().
Here is the call graph for this function:| ilCtrlStructure::getChildrenByName | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 162 of file class.ilCtrlStructure.php.
References getValueForKeyByName().
Here is the call graph for this function:| ilCtrlStructure::getClassCidByName | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 125 of file class.ilCtrlStructure.php.
References getValueForKeyByName().
Referenced by isBaseClass().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCtrlStructure::getClassNameByCid | ( | string | $cid | ) |
Implements ilCtrlStructureInterface.
Definition at line 112 of file class.ilCtrlStructure.php.
References getValueForKeyByCid(), and lowercase().
Referenced by getSafeCommandsByCid(), and getUnsafeCommandsByCid().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCtrlStructure::getObjNameByCid | ( | string | $cid | ) |
Implements ilCtrlStructureInterface.
Definition at line 96 of file class.ilCtrlStructure.php.
References getValueForKeyByCid().
Here is the call graph for this function:| ilCtrlStructure::getObjNameByName | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 104 of file class.ilCtrlStructure.php.
References getValueForKeyByName().
Here is the call graph for this function:| ilCtrlStructure::getParentsByCid | ( | string | $cid | ) |
Implements ilCtrlStructureInterface.
Definition at line 175 of file class.ilCtrlStructure.php.
References getValueForKeyByCid().
Here is the call graph for this function:| ilCtrlStructure::getParentsByName | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 188 of file class.ilCtrlStructure.php.
References getValueForKeyByName().
Here is the call graph for this function:| ilCtrlStructure::getPermanentParametersByClass | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 228 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:| ilCtrlStructure::getRelativePathByCid | ( | string | $cid | ) |
Implements ilCtrlStructureInterface.
Definition at line 141 of file class.ilCtrlStructure.php.
References getValueForKeyByCid().
Here is the call graph for this function:| ilCtrlStructure::getRelativePathByName | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 133 of file class.ilCtrlStructure.php.
References getValueForKeyByName().
Here is the call graph for this function:| ilCtrlStructure::getReturnTargetByClass | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 305 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:| ilCtrlStructure::getSafeCommandsByCid | ( | string | $cid | ) |
Implements ilCtrlStructureInterface.
Definition at line 334 of file class.ilCtrlStructure.php.
References getClassNameByCid(), and getSafeCommandsByName().
Here is the call graph for this function:| ilCtrlStructure::getSafeCommandsByName | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 347 of file class.ilCtrlStructure.php.
References lowercase().
Referenced by getSafeCommandsByCid().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCtrlStructure::getTemporaryParametersByClass | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 259 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:| ilCtrlStructure::getUnsafeCommandsByCid | ( | string | $cid | ) |
Implements ilCtrlStructureInterface.
Definition at line 313 of file class.ilCtrlStructure.php.
References getClassNameByCid(), and getUnsafeCommandsByName().
Here is the call graph for this function:| ilCtrlStructure::getUnsafeCommandsByName | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 326 of file class.ilCtrlStructure.php.
References lowercase().
Referenced by getUnsafeCommandsByCid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Returns a stored structure value of the given key from the corresponding class mapped by CID.
| string | $identifier_key | |
| string | $cid |
Definition at line 359 of file class.ilCtrlStructure.php.
Referenced by getChildrenByCid(), getClassNameByCid(), getObjNameByCid(), getParentsByCid(), and getRelativePathByCid().
Here is the caller graph for this function:
|
private |
Returns a stored structure value of the given key from the corresponding class mapped by name.
| string | $identifier_key | |
| string | $class_name |
Definition at line 382 of file class.ilCtrlStructure.php.
References lowercase().
Referenced by getChildrenByName(), getClassCidByName(), getObjNameByName(), getParentsByName(), and getRelativePathByName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCtrlStructure::isBaseClass | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 84 of file class.ilCtrlStructure.php.
References getClassCidByName(), and lowercase().
Here is the call graph for this function:
|
private |
Helper function to lowercase strings.
| string | $string |
Definition at line 397 of file class.ilCtrlStructure.php.
Referenced by getClassNameByCid(), getPermanentParametersByClass(), getReturnTargetByClass(), getSafeCommandsByName(), getTemporaryParametersByClass(), getUnsafeCommandsByName(), getValueForKeyByName(), isBaseClass(), removePermanentParametersByClass(), removeSingleParameterByClass(), removeTemporaryParametersByClass(), setPermanentParameterByClass(), setReturnTargetByClass(), and setTemporaryParameterByClass().
Here is the caller graph for this function:| ilCtrlStructure::removePermanentParametersByClass | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 217 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:| ilCtrlStructure::removeSingleParameterByClass | ( | string | $class_name, |
| string | $parameter_name | ||
| ) |
Implements ilCtrlStructureInterface.
Definition at line 267 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:| ilCtrlStructure::removeTemporaryParametersByClass | ( | string | $class_name | ) |
Implements ilCtrlStructureInterface.
Definition at line 248 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:| ilCtrlStructure::setPermanentParameterByClass | ( | string | $class_name, |
| string | $parameter_name | ||
| ) |
Implements ilCtrlStructureInterface.
Definition at line 201 of file class.ilCtrlStructure.php.
References lowercase(), and ilCtrlInterface\PROTECTED_PARAMETERS.
Here is the call graph for this function:| ilCtrlStructure::setReturnTargetByClass | ( | string | $class_name, |
| string | $target_url | ||
| ) |
Implements ilCtrlStructureInterface.
Definition at line 297 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:| ilCtrlStructure::setTemporaryParameterByClass | ( | string | $class_name, |
| string | $parameter_name, | ||
| $value | |||
| ) |
Implements ilCtrlStructureInterface.
Definition at line 236 of file class.ilCtrlStructure.php.
References lowercase().
Here is the call graph for this function:
|
private |
Definition at line 50 of file class.ilCtrlStructure.php.
Referenced by __construct().
|
private |
Definition at line 63 of file class.ilCtrlStructure.php.
|
private |
Definition at line 32 of file class.ilCtrlStructure.php.
|
private |
Definition at line 38 of file class.ilCtrlStructure.php.
|
private |
Definition at line 56 of file class.ilCtrlStructure.php.
|
private |
Definition at line 44 of file class.ilCtrlStructure.php.
|
private |
Definition at line 25 of file class.ilCtrlStructure.php.
|
private |
Definition at line 18 of file class.ilCtrlStructure.php.