|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilCtrlSingleClassPath. More...
Inheritance diagram for ilCtrlSingleClassPath:
Collaboration diagram for ilCtrlSingleClassPath:Public Member Functions | |
| __construct (ilCtrlStructureInterface $structure, ilCtrlContextInterface $context, string $target_class) | |
| ilCtrlSingleClassPath Constructor More... | |
Public Member Functions inherited from ilCtrlAbstractPath | |
| __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... | |
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 | |
Data Fields inherited from ilCtrlPathInterface | |
| const | CID_PATH_SEPARATOR = '.' |
Protected Member Functions inherited from ilCtrlAbstractPath | |
| 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 inherited from ilCtrlAbstractPath | |
| ilCtrlStructureInterface | $structure |
| ilCtrlException | $exception = null |
| string | $cid_path = null |
Class ilCtrlSingleClassPath.
Definition at line 26 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 40 of file class.ilCtrlSingleClassPath.php.
References $context, ilCtrlAbstractPath\$exception, ilCtrlAbstractPath\$structure, ILIAS\GlobalScreen\Provider\__construct(), and getCidPathByClass().
Here is the call graph for this function:
|
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 65 of file class.ilCtrlSingleClassPath.php.
References ilCtrlAbstractPath\appendCid(), and ilCtrlAbstractPath\getPathToRelatedClassInContext().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 31 of file class.ilCtrlSingleClassPath.php.
Referenced by __construct().