ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilCtrlStructureInterface $structure, ilCtrlContextInterface $context, string $target_class) | |
ilCtrlSingleClassPath Constructor More... | |
![]() | |
__construct (ilCtrlStructureInterface $structure) | |
ilCtrlAbstractPath Constructor More... | |
getCidPath () | |
getCurrentCid () | |
getNextCid (string $current_class) | |
getCidPaths (int $order=SORT_DESC) | |
getCidArray (int $order=SORT_DESC) | |
getBaseClass () | |
getException () | |
Private Member Functions | |
getCidPathByClass (string $target_class) | |
Returns a cid path that reaches from the current context's baseclass to the given class. More... | |
Private Attributes | |
ilCtrlContextInterface | $context |
Additional Inherited Members | |
![]() | |
const | CID_PATH_SEPARATOR = ':' |
![]() | |
getPathToRelatedClassInContext (ilCtrlContextInterface $context, string $target_class) | |
Returns the path to a class within the given contexts current path that has a relation to the given target. More... | |
isClassChildOf (string $child_class, string $parent_class) | |
Returns whether the given target class is a child of the other given class. More... | |
isClassParentOf (string $parent_class, string $child_class) | |
Returns whether the given target class is a parent of the other given class. More... | |
appendCid (string $cid, string $path=null) | |
Helper function to add CIDs to a given path. More... | |
![]() | |
ilCtrlStructureInterface | $structure |
ilCtrlException | $exception = null |
string | $cid_path = null |
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 Class ilCtrlSingleClassPath
Definition at line 25 of file class.ilCtrlSingleClassPath.php.
ilCtrlSingleClassPath::__construct | ( | ilCtrlStructureInterface | $structure, |
ilCtrlContextInterface | $context, | ||
string | $target_class | ||
) |
ilCtrlSingleClassPath Constructor
ilCtrlStructureInterface | $structure | |
ilCtrlContextInterface | $context | |
string | $target_class |
Definition at line 39 of file class.ilCtrlSingleClassPath.php.
References $context, ilCtrlAbstractPath\$exception, ILIAS\GlobalScreen\Provider\__construct(), and getCidPathByClass().
|
private |
Returns a cid path that reaches from the current context's baseclass to the given class.
If the given class cannot be reached from the context's baseclass this instance must be given a class array instead.
string | $target_class |
ilCtrlException | if the class has no relations or cannot reach the baseclass of this context. |
Definition at line 64 of file class.ilCtrlSingleClassPath.php.
References ilCtrlAbstractPath\appendCid(), and ilCtrlAbstractPath\getPathToRelatedClassInContext().
Referenced by __construct().
|
private |
Definition at line 30 of file class.ilCtrlSingleClassPath.php.
Referenced by __construct().