ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 = ':' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 27 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 32 of file interface.ilCtrlPathInterface.php.