|
Stud.IP
jlu_4.3 Revision 64286
|


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 MvvTreeRoot, Abschluss, AbschlussKategorie, Fach, Fachbereich, Lvgruppe, Modul, Modulteil, MvvCourse, StgteilAbschnitt, StgteilabschnittModul, StgteilVersion, Studiengang, and StudiengangTeil.

| getDisplayName | ( | ) |
Returns the name of the object to displa in the trail.
Implemented in MvvTreeRoot.

| getId | ( | ) |
Returns the id of this object.
Implemented in MvvTreeRoot.

| getParents | ( | $mode | ) |
Returns all parents of this object.
| int | $mode | Parameter to modify search result. |
Implemented in MvvTreeRoot, Abschluss, AbschlussKategorie, Fach, Fachbereich, Lvgruppe, Modul, Modulteil, MvvCourse, StgteilAbschnitt, StgteilabschnittModul, StgteilVersion, Studiengang, and StudiengangTeil.

| getTrailParent | ( | ) |
Returns the parent of this object in the specific trail.
Implemented in MvvTreeRoot, Abschluss, AbschlussKategorie, Fach, Fachbereich, Lvgruppe, Modul, Modulteil, MvvCourse, StgteilAbschnitt, StgteilabschnittModul, StgteilVersion, Studiengang, and StudiengangTeil.
| getTrailParentId | ( | ) |
Returns the parent of the last selected item. Used by assignnment of LV-Gruppen to courses.
Implemented in MvvTreeRoot, Abschluss, AbschlussKategorie, Fach, Fachbereich, Lvgruppe, Modul, ModuleManagementModelTreeItem, Modulteil, MvvCourse, StgteilAbschnitt, StgteilabschnittModul, StgteilVersion, Studiengang, and StudiengangTeil.
| 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 MvvTreeRoot, Abschluss, Fach, Fachbereich, Lvgruppe, Modul, ModuleManagementModelTreeItem, Modulteil, MvvCourse, StgteilabschnittModul, StgteilVersion, and Studiengang.
| isAssignable | ( | ) |
Returns whether this object is assignable to courses. Only used by selecting and asssigning LV-Gruppen to courses.
Implemented in MvvTreeRoot, Lvgruppe, and ModuleManagementModelTreeItem.
| const TRAIL_SHOW_INCOMPLETE = 1 |
Returns a trail even if the object is not related to the root item.