ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
ilCtrlStructureInterface More...
Public Member Functions | |
isBaseClass (string $class_name) | |
Returns whether the given class is registered as a valid baseclass (module or service class) in the database. More... | |
getObjNameByCid (string $cid) | |
Returns the qualified object name of a class for the given CID, which can be used to instantiate the object. More... | |
getObjNameByName (string $class_name) | |
Returns the qualified object name of a given class, which can be used to instantiate the object. More... | |
getClassNameByCid (string $cid) | |
Returns the lower-cased name of a class for the given CID. More... | |
getClassCidByName (string $class_name) | |
Returns the CID of the given classname. More... | |
getRelativePathByName (string $class_name) | |
Returns the absolute path of a class for the given name. More... | |
getRelativePathByCid (string $cid) | |
Returns the absolute path of a class for the given CID. More... | |
getChildrenByCid (string $cid) | |
Returns all classes that can be called by a class for the given CID. More... | |
getChildrenByName (string $class_name) | |
Returns all classes that can be called by the given class. More... | |
getParentsByCid (string $cid) | |
Returns all classes that can call a class for the given CID. More... | |
getParentsByName (string $class_name) | |
Returns all classes that can call the given class. More... | |
setPermanentParameterByClass (string $class_name, string $parameter_name) | |
Saves a parameter for the given class, that should be fetched with every request including it. More... | |
removePermanentParametersByClass (string $class_name) | |
Removes all permanent parameters for the given class. More... | |
getPermanentParametersByClass (string $class_name) | |
Returns all permanent parameters for the given class. More... | |
setTemporaryParameterByClass (string $class_name, string $parameter_name, $value) | |
Sets a parameter => value pair for the given class which will be appended for the next request. More... | |
removeTemporaryParametersByClass (string $class_name) | |
Removes all temporarily set parameter => value pairs for the given class. More... | |
getTemporaryParametersByClass (string $class_name) | |
Returns all temporary parameters currently set for a given class. More... | |
removeSingleParameterByClass (string $class_name, string $parameter_name) | |
Removes a specific permanent or temporary parameter for the given class. More... | |
setReturnTargetByClass (string $class_name, string $target_url) | |
Sets a target URL for the given class in order to reach it. More... | |
getReturnTargetByClass (string $class_name) | |
Returns a target URL for the given class in order to reach it. More... | |
getUnsafeCommandsByCid (string $cid) | |
Returns all unsafe GET commands for a given cid. More... | |
getUnsafeCommandsByName (string $class_name) | |
Returns all unsafe GET commands for a given classname. More... | |
getSafeCommandsByCid (string $cid) | |
Returns all safe POST commands for a given cid. More... | |
getSafeCommandsByName (string $class_name) | |
Returns all safe POST commands for a given classname. More... | |
Data Fields | |
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' |
Definition at line 10 of file interface.ilCtrlStructureInterface.php.
ilCtrlStructureInterface::getChildrenByCid | ( | string | $cid | ) |
Returns all classes that can be called by a class for the given CID.
string | $cid |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getChildrenByName | ( | string | $class_name | ) |
Returns all classes that can be called by the given class.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getClassCidByName | ( | string | $class_name | ) |
Returns the CID of the given classname.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getClassNameByCid | ( | string | $cid | ) |
Returns the lower-cased name of a class for the given CID.
string | $cid |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getObjNameByCid | ( | string | $cid | ) |
Returns the qualified object name of a class for the given CID, which can be used to instantiate the object.
string | $cid |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getObjNameByName | ( | string | $class_name | ) |
Returns the qualified object name of a given class, which can be used to instantiate the object.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getParentsByCid | ( | string | $cid | ) |
Returns all classes that can call a class for the given CID.
string | $cid |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getParentsByName | ( | string | $class_name | ) |
Returns all classes that can call the given class.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getPermanentParametersByClass | ( | string | $class_name | ) |
Returns all permanent parameters for the given class.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getRelativePathByCid | ( | string | $cid | ) |
Returns the absolute path of a class for the given CID.
string | $cid |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getRelativePathByName | ( | string | $class_name | ) |
Returns the absolute path of a class for the given name.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getReturnTargetByClass | ( | string | $class_name | ) |
Returns a target URL for the given class in order to reach it.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getSafeCommandsByCid | ( | string | $cid | ) |
Returns all safe POST commands for a given cid.
string | $cid |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getSafeCommandsByName | ( | string | $class_name | ) |
Returns all safe POST commands for a given classname.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getTemporaryParametersByClass | ( | string | $class_name | ) |
Returns all temporary parameters currently set for a given class.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getUnsafeCommandsByCid | ( | string | $cid | ) |
Returns all unsafe GET commands for a given cid.
string | $cid |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::getUnsafeCommandsByName | ( | string | $class_name | ) |
Returns all unsafe GET commands for a given classname.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::isBaseClass | ( | string | $class_name | ) |
Returns whether the given class is registered as a valid baseclass (module or service class) in the database.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::removePermanentParametersByClass | ( | string | $class_name | ) |
Removes all permanent parameters for the given class.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::removeSingleParameterByClass | ( | string | $class_name, |
string | $parameter_name | ||
) |
Removes a specific permanent or temporary parameter for the given class.
string | $class_name | |
string | $parameter_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::removeTemporaryParametersByClass | ( | string | $class_name | ) |
Removes all temporarily set parameter => value pairs for the given class.
string | $class_name |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::setPermanentParameterByClass | ( | string | $class_name, |
string | $parameter_name | ||
) |
Saves a parameter for the given class, that should be fetched with every request including it.
string | $class_name | |
string | $parameter_name |
ilCtrlException | if an invalid parameter name is provided. |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::setReturnTargetByClass | ( | string | $class_name, |
string | $target_url | ||
) |
Sets a target URL for the given class in order to reach it.
string | $class_name | |
string | $target_url |
Implemented in ilCtrlStructure.
ilCtrlStructureInterface::setTemporaryParameterByClass | ( | string | $class_name, |
string | $parameter_name, | ||
$value | |||
) |
Sets a parameter => value pair for the given class which will be appended for the next request.
string | $class_name | |
string | $parameter_name | |
mixed | $value |
ilCtrlException | if an invalid parameter name is provided. |
Implemented in ilCtrlStructure.
const ilCtrlStructureInterface::KEY_CLASS_CHILDREN = 'children' |
Definition at line 20 of file interface.ilCtrlStructureInterface.php.
Referenced by ilCtrlStructureHelper\filterUnnecessaryEntries(), ilCtrlStructureMapper\mapStructure(), ilCtrlStructureReader\readStructure(), ilCtrlStructureTest\testStructureCtrlInfos(), ilCtrlStructureHelperTest\testStructureHelperUnnecessaryEntryFilter(), ilCtrlStructureMapperTest\testStructureMapperReferenceListIndexesAfterInvalidReferenceIsRemoved(), ilCtrlStructureMapperTest\testStructureMapperWithMissingReferenceLists(), ilCtrlStructureMapperTest\testStructureMapperWithMixedArray(), and ilCtrlStructureMapperTest\testStructureMapperWithStructureArray().
const ilCtrlStructureInterface::KEY_CLASS_CID = 'cid' |
array key constants that are used for certain information.
Definition at line 15 of file interface.ilCtrlStructureInterface.php.
Referenced by ilCtrlStructureReader\readStructure(), ilCtrlStructureTest\testStructureBaseClasses(), ilCtrlStructureTest\testStructureCtrlInfos(), and ilCtrlStructureTest\testStructureSecurityInfos().
const ilCtrlStructureInterface::KEY_CLASS_CID_PATHS = 'cid_paths' |
Definition at line 18 of file interface.ilCtrlStructureInterface.php.
const ilCtrlStructureInterface::KEY_CLASS_NAME = 'class_name' |
Definition at line 17 of file interface.ilCtrlStructureInterface.php.
Referenced by ilCtrlStructureReader\readStructure(), ilCtrlStructureTest\testStructureCtrlInfos(), and ilCtrlStructureTest\testStructureSecurityInfos().
const ilCtrlStructureInterface::KEY_CLASS_PARENTS = 'parents' |
Definition at line 19 of file interface.ilCtrlStructureInterface.php.
Referenced by ilCtrlStructureHelper\filterUnnecessaryEntries(), ilCtrlStructureMapper\mapStructure(), ilCtrlStructureReader\readStructure(), ilCtrlStructureTest\testStructureCtrlInfos(), ilCtrlStructureHelperTest\testStructureHelperUnnecessaryEntryFilter(), ilCtrlStructureMapperTest\testStructureMapperReferenceListIndexesAfterInvalidReferenceIsRemoved(), ilCtrlStructureMapperTest\testStructureMapperWithInvalidReferenceInList(), ilCtrlStructureMapperTest\testStructureMapperWithMissingReferenceLists(), ilCtrlStructureMapperTest\testStructureMapperWithMixedArray(), and ilCtrlStructureMapperTest\testStructureMapperWithStructureArray().
const ilCtrlStructureInterface::KEY_CLASS_PATH = 'class_path' |
Definition at line 16 of file interface.ilCtrlStructureInterface.php.
Referenced by ilCtrlStructureReader\readStructure(), and ilCtrlStructureTest\testStructureCtrlInfos().
const ilCtrlStructureInterface::KEY_SAFE_COMMANDS = 'safe_commands' |
Definition at line 22 of file interface.ilCtrlStructureInterface.php.
Referenced by ilCtrlSecurityArtifactObjective\getArtifactPath(), and ilCtrlStructureTest\testStructureSecurityInfos().
const ilCtrlStructureInterface::KEY_UNSAFE_COMMANDS = 'unsafe_commands' |
Definition at line 21 of file interface.ilCtrlStructureInterface.php.
Referenced by ilCtrlSecurityArtifactObjective\getArtifactPath(), and ilCtrlStructureTest\testStructureSecurityInfos().