|
ILIAS
release_8 Revision v8.24
|
Class ilCtrlAbstractPath. More...
Inheritance diagram for ilCtrlAbstractPath:
Collaboration diagram for ilCtrlAbstractPath:Public Member Functions | |
| __construct (ilCtrlStructureInterface $structure) | |
| ilCtrlAbstractPath Constructor More... | |
| getCidPath () | |
| @inheritDoc More... | |
| getCurrentCid () | |
| @inheritDoc More... | |
| getNextCid (string $current_class) | |
| @inheritDoc More... | |
| getCidPaths (int $order=SORT_DESC) | |
| @inheritDoc More... | |
| getCidArray (int $order=SORT_DESC) | |
| @inheritDoc More... | |
| getBaseClass () | |
| @inheritDoc More... | |
| getException () | |
| @inheritDoc More... | |
| 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... | |
Protected Member Functions | |
| 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... | |
Protected Attributes | |
| ilCtrlStructureInterface | $structure |
| ilCtrlException | $exception = null |
| string | $cid_path = null |
Additional Inherited Members | |
Data Fields inherited from ilCtrlPathInterface | |
| const | CID_PATH_SEPARATOR = ':' |
Class ilCtrlAbstractPath.
Definition at line 12 of file class.ilCtrlAbstractPath.php.
| ilCtrlAbstractPath::__construct | ( | ilCtrlStructureInterface | $structure | ) |
ilCtrlAbstractPath Constructor
| ilCtrlStructureInterface | $structure |
Definition at line 34 of file class.ilCtrlAbstractPath.php.
References $structure.
|
protected |
Helper function to add CIDs to a given path.
| string | $cid | |
| string | null | $path |
Definition at line 223 of file class.ilCtrlAbstractPath.php.
References $path.
Referenced by ilCtrlArrayClassPath\getCidPathByArray(), ilCtrlSingleClassPath\getCidPathByClass(), and getCidPaths().
Here is the caller graph for this function:| ilCtrlAbstractPath::getBaseClass | ( | ) |
@inheritDoc
Implements ilCtrlPathInterface.
Definition at line 133 of file class.ilCtrlAbstractPath.php.
References getCidArray().
Here is the call graph for this function:| ilCtrlAbstractPath::getCidArray | ( | int | $order = SORT_DESC | ) |
@inheritDoc
Implements ilCtrlPathInterface.
Definition at line 116 of file class.ilCtrlAbstractPath.php.
References getCidPath().
Referenced by getBaseClass(), getCidPaths(), getCurrentCid(), and getNextCid().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCtrlAbstractPath::getCidPath | ( | ) |
@inheritDoc
Implements ilCtrlPathInterface.
Definition at line 42 of file class.ilCtrlAbstractPath.php.
References $cid_path.
Referenced by getCidArray(), getCidPaths(), and getCurrentCid().
Here is the caller graph for this function:| ilCtrlAbstractPath::getCidPaths | ( | int | $order = SORT_DESC | ) |
@inheritDoc
Implements ilCtrlPathInterface.
Definition at line 88 of file class.ilCtrlAbstractPath.php.
References $index, appendCid(), getCidArray(), and getCidPath().
Here is the call graph for this function:| ilCtrlAbstractPath::getCurrentCid | ( | ) |
@inheritDoc
Implements ilCtrlPathInterface.
Definition at line 56 of file class.ilCtrlAbstractPath.php.
References getCidArray(), and getCidPath().
Here is the call graph for this function:| ilCtrlAbstractPath::getException | ( | ) |
@inheritDoc
Implements ilCtrlPathInterface.
Definition at line 149 of file class.ilCtrlAbstractPath.php.
References $exception.
| ilCtrlAbstractPath::getNextCid | ( | string | $current_class | ) |
@inheritDoc
Implements ilCtrlPathInterface.
Definition at line 70 of file class.ilCtrlAbstractPath.php.
References $index, and getCidArray().
Here is the call graph for this function:
|
protected |
Returns the path to a class within the given contexts current path that has a relation to the given target.
| ilCtrlContextInterface | $context | |
| string | $target_class |
Definition at line 162 of file class.ilCtrlAbstractPath.php.
References $context, $index, and isClassChildOf().
Referenced by ilCtrlArrayClassPath\getCidPathByArray(), and ilCtrlSingleClassPath\getCidPathByClass().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Returns whether the given target class is a child of the other given class.
| string | $child_class | |
| string | $parent_class |
Definition at line 188 of file class.ilCtrlAbstractPath.php.
Referenced by getPathToRelatedClassInContext().
Here is the caller graph for this function:
|
protected |
Returns whether the given target class is a parent of the other given class.
| string | $parent_class | |
| string | $child_class |
Definition at line 206 of file class.ilCtrlAbstractPath.php.
Referenced by ilCtrlArrayClassPath\getCidPathByArray().
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilCtrlAbstractPath.php.
Referenced by ilCtrlExistingPath\__construct(), getCidPath(), and ilCtrlArrayClassPath\getCidPathByArray().
|
protected |
Definition at line 22 of file class.ilCtrlAbstractPath.php.
Referenced by ilCtrlArrayClassPath\__construct(), ilCtrlSingleClassPath\__construct(), and getException().
|
protected |
Definition at line 17 of file class.ilCtrlAbstractPath.php.
Referenced by __construct(), ilCtrlArrayClassPath\__construct(), ilCtrlSingleClassPath\__construct(), and ilCtrlExistingPath\__construct().