Stud.IP
6.0
|
Public Member Functions | |
getTrailParentId () | |
getTrailParent () | |
getChildren () | |
hasChildren () | |
getId () | |
getDisplayName () | |
isAssignable () | |
getParents ($mode) | |
getTrails ($types=null, $mode=null, $path=null, $in_recursion=false) | |
Data Fields | |
const | TRAIL_SHOW_INCOMPLETE = 1 |
getChildren | ( | ) |
Returns all children of this object.
Implemented in Studiengang, Fach, Abschluss, StgteilVersion, Lvgruppe, AbschlussKategorie, Modul, Modulteil, StgteilAbschnitt, StgteilabschnittModul, Fachbereich, StudiengangTeil, MvvCourse, and MvvTreeRoot.
getDisplayName | ( | ) |
Returns the name of the object to displa in the trail.
Implemented in Studiengang, Abschluss, Modul, StgteilVersion, Fachbereich, Modulteil, StudiengangTeil, MvvCourse, MvvTreeRoot, and StgteilabschnittModul.
getId | ( | ) |
getParents | ( | $mode | ) |
Returns all parents of this object.
int | $mode | Parameter to modify search result. |
Implemented in Studiengang, Fach, Abschluss, Lvgruppe, StgteilVersion, Modul, Modulteil, AbschlussKategorie, StgteilAbschnitt, StgteilabschnittModul, StudiengangTeil, Fachbereich, MvvCourse, and MvvTreeRoot.
getTrailParent | ( | ) |
Returns the parent of this object in the specific trail.
Implemented in Studiengang, Fach, Abschluss, StgteilVersion, Lvgruppe, AbschlussKategorie, Modul, Modulteil, StgteilAbschnitt, StgteilabschnittModul, Fachbereich, StudiengangTeil, MvvCourse, and MvvTreeRoot.
getTrailParentId | ( | ) |
Returns the parent of the last selected item. Used by assignnment of LV-Gruppen to courses.
Implemented in Studiengang, Fach, Abschluss, StgteilVersion, Lvgruppe, AbschlussKategorie, Modul, Modulteil, StgteilAbschnitt, StgteilabschnittModul, StudiengangTeil, Fachbereich, MvvCourse, ModuleManagementModelTreeItem, and MvvTreeRoot.
getTrails | ( | $types = null , |
|
$mode = null , |
|||
$path = null , |
|||
$in_recursion = false |
|||
) |
Returns all trails (pathes through the mvv object structure) for one object. The trails are the relations of this object along the given types (classes of MvvTreeItem objects) to the root object type.
array | $types | An array of class names. |
int | $mode | Modifeies the result (only possible value is MvvTreeItem::TRAIL_SHOW_INCOMPLETE) |
array | $path | The uncomplete path (used in recursion) |
boolean | $last | True if the last object (no parents) is reached (used in recursion) |
Implemented in MvvTreeRoot, and ModuleManagementModelTreeItem.
hasChildren | ( | ) |
Returns whether this object has children.
Implemented in Studiengang, Fach, Abschluss, StgteilVersion, Lvgruppe, Modul, Modulteil, StgteilabschnittModul, Fachbereich, ModuleManagementModelTreeItem, MvvCourse, and MvvTreeRoot.
isAssignable | ( | ) |
Returns whether this object is assignable to courses. Only used by selecting and asssigning LV-Gruppen to courses.
Implemented in Lvgruppe, ModuleManagementModelTreeItem, and MvvTreeRoot.
const TRAIL_SHOW_INCOMPLETE = 1 |
Returns a trail even if the object is not related to the root item.