An item in a list of question categories.
More...
|
| $attributes |
|
moodle_list | $children |
| Set if there are any children of this listitem.
|
|
| $display |
|
| $fieldnamesname = 'name' |
|
| $icons = array() |
|
integer | $id |
| id of record, used if list is editable.
|
|
mixed | $item |
| The object or string representing this item.
|
|
string | $name |
| name of this item, used if list is editable.
|
|
moodle_list | $parentlist |
|
An item in a list of question categories.
- Copyright
- 1999 onwards Martin Dougiamas
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ create_children()
list_item::create_children |
( |
& |
$records, |
|
|
& |
$children, |
|
|
|
$thisrecordid |
|
) |
| |
|
inherited |
◆ item_html()
question_category_list_item::item_html |
( |
|
$extraargs = array() | ) |
|
Output the html just for this item.
Called by to_html which adds html for children.
Reimplemented from list_item.
◆ set_icon_html()
question_category_list_item::set_icon_html |
( |
|
$first, |
|
|
|
$last, |
|
|
|
$lastitem |
|
) |
| |
◆ to_html()
list_item::to_html |
( |
|
$indent = 0 , |
|
|
|
$extraargs = array() |
|
) |
| |
|
inherited |
Returns html.
- Parameters
-
integer | $indent | |
array | $extraargs | any extra data that is needed to print the list item may be used by sub class. |
- Return values
-
The documentation for this class was generated from the following file: