|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| convert ($branch) | |
| set_expandable ($expandable) | |
Protected Member Functions | |
| convert_child ($child, $depth=1) | |
Protected Attributes | |
| $nodetype = array('node','branch') | |
| $expandable = array() | |
Definition at line 3996 of file navigationlib.php.
| convert | ( | $ | branch | ) |
Turns a branch and all of its children into XML
| navigation_node | $branch |
Definition at line 4007 of file navigationlib.php.

| convert_child | ( | $ | child, |
| $ | depth = 1 |
||
| ) | [protected] |
Recusively converts a child node and its children to XML for output
| navigation_node | $child | The child to convert |
| int | $depth | Pointlessly used to track the depth of the XML structure |
Definition at line 4028 of file navigationlib.php.

| set_expandable | ( | $ | expandable | ) |
Set the expandable items in the array so that we have enough information to attach AJAX events
| array | $expandable |
Definition at line 4016 of file navigationlib.php.
$expandable = array() [protected] |
Definition at line 4000 of file navigationlib.php.
$nodetype = array('node','branch') [protected] |
Definition at line 3998 of file navigationlib.php.