Interface StudipTreeNode An abstract representation of a tree node in Stud.IP
- Author
- Thomas Hackl hackl.nosp@m.@dat.nosp@m.a-que.nosp@m.st.d.nosp@m.e GPL2 or any later version
- Since
- Stud.IP 5.3
◆ countCourses()
countCourses |
( |
string |
$semester_id = '' , |
|
|
int |
$semclass = 0 , |
|
|
bool |
$with_children = false |
|
) |
| |
How many courses are assigned to this node in the given semester?
- Parameters
-
string | $semester_id | |
int | $semclass | |
bool | $with_children | |
- Returns
- int
◆ getAncestors()
◆ getChildNodes()
getChildNodes |
( |
bool |
$onlyVisible = false | ) |
|
◆ getCourseNodes()
static getCourseNodes |
( |
string |
$course_id | ) |
|
|
static |
◆ getCourses()
getCourses |
( |
string |
$semester_id = 'all' , |
|
|
int |
$semclass = 0 , |
|
|
string |
$searchterm = '' , |
|
|
bool |
$with_children = false , |
|
|
array |
$courses = [] |
|
) |
| |
Fetches courses assigned to this node in the given semester.
- Parameters
-
string | $semester_id | |
int | $semclass | |
string | $searchterm | |
bool | $with_children | |
| string[] | $courses |
- Returns
- Course[]
◆ getDescription()
◆ getId()
This node's unique ID.
- Returns
- mixed
◆ getImage()
◆ getName()
◆ getNode()
◆ hasChildNodes()
The documentation for this interface was generated from the following file: