Detailed Description
Definition at line 1564 of file lib.php.
Member Function Documentation
| flatten |
( |
&$ |
element, |
|
|
$ |
category_grade_last, |
|
|
$ |
nooutcomes |
|
) |
| |
Static recursive helper - makes the grade_item for category the last children
- Parameters:
-
| array | &$element | The seed of the recursion |
| bool | $category_grade_last | category grade item is the last child |
| bool | $nooutcomes | Whether or not outcomes should be included |
- Returns:
- array
Definition at line 1604 of file lib.php.
| grade_seq |
( |
$ |
courseid, |
|
|
$ |
category_grade_last = false, |
|
|
$ |
nooutcomes = false |
|
) |
| |
Constructor, retrieves and stores array of all grade_category and grade_item objects for the given courseid. Full objects are instantiated. Ordering sequence is fixed if needed.
- Parameters:
-
| int | $courseid | The course id |
| bool | $category_grade_last | category grade item is the last child |
| bool | $nooutcomes | Whether or not outcomes should be included |
Definition at line 1579 of file lib.php.
Parses the array in search of a given eid and returns a element object with information about the element it has found.
- Parameters:
-
| int | $eid | Gradetree Element ID |
- Returns:
- object element
Definition at line 1645 of file lib.php.
Field Documentation
1D array of elements
Definition at line 1569 of file lib.php.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/grade/lib.php