ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Interface ilCtrlPathInterface is responsible for holding and manipulating a valid ilCtrl class-path (abbreviated by CID). More...
Public Member Functions | |
getCidPath () | |
Returns the CID path for the target class of the current instance. More... | |
getCurrentCid () | |
Returns the CID that must currently be processed. More... | |
getNextCid (string $current_class) | |
Returns the next CID that must be processed. More... | |
getCidPaths (int $order=SORT_DESC) | |
Returns all individual paths for each cid position for the given direction. More... | |
getCidArray (int $order=SORT_DESC) | |
Returns all cid's from the current path in the provided directory/order. More... | |
getBaseClass () | |
Returns the baseclass of the current cid path. More... | |
getException () | |
Returns the exception produced during the path-finding- process. More... | |
Data Fields | |
const | CID_PATH_SEPARATOR = ':' |
Interface ilCtrlPathInterface is responsible for holding and manipulating a valid ilCtrl class-path (abbreviated by CID).
A CID-path or class-path is a
Definition at line 13 of file interface.ilCtrlPathInterface.php.
ilCtrlPathInterface::getBaseClass | ( | ) |
Returns the baseclass of the current cid path.
Implemented in ilCtrlAbstractPath, and ilCtrlNullPath.
ilCtrlPathInterface::getCidArray | ( | int | $order = SORT_DESC | ) |
Returns all cid's from the current path in the provided directory/order.
ASC => from baseclass to command class. DESC => from command class to baseclass.
int | $order | (SORT_DESC|SORT_ASC) |
Implemented in ilCtrlAbstractPath, and ilCtrlNullPath.
ilCtrlPathInterface::getCidPath | ( | ) |
Returns the CID path for the target class of the current instance.
Null is returned when there's no valid path.
Implemented in ilCtrlAbstractPath, and ilCtrlNullPath.
Referenced by ilCtrlContext\setBaseClass(), and ilCtrlContext\setCmdClass().
ilCtrlPathInterface::getCidPaths | ( | int | $order = SORT_DESC | ) |
Returns all individual paths for each cid position for the given direction.
For example, trace 'cid1:cid2:cid3' it would return: array( 'cid1', 'cid1:cid2', 'cid1:cid2:cid3', ... );
ASC => from baseclass to command class. DESC => from command class to baseclass.
int | $order | (SORT_DESC|SORT_ASC) |
Implemented in ilCtrlAbstractPath, and ilCtrlNullPath.
ilCtrlPathInterface::getCurrentCid | ( | ) |
Returns the CID that must currently be processed.
Implemented in ilCtrlAbstractPath, and ilCtrlNullPath.
ilCtrlPathInterface::getException | ( | ) |
Returns the exception produced during the path-finding- process.
Implemented in ilCtrlAbstractPath, and ilCtrlNullPath.
ilCtrlPathInterface::getNextCid | ( | string | $current_class | ) |
Returns the next CID that must be processed.
string | $current_class |
Implemented in ilCtrlAbstractPath, and ilCtrlNullPath.
const ilCtrlPathInterface::CID_PATH_SEPARATOR = ':' |
Definition at line 18 of file interface.ilCtrlPathInterface.php.