| 
|   | convert ($branch) | 
|   | Turns a branch and all of its children into XML.  More...
  | 
|   | 
|   | set_expandable ($expandable) | 
|   | Set the expandable items in the array so that we have enough information to attach AJAX events.  More...
  | 
|   | 
 | 
|   | convert_child ($child, $depth=1) | 
|   | Recusively converts a child node and its children to XML for output.  More...
  | 
|   | 
 | 
| 
array  | $expandable = array() | 
|   | An array of node keys and types. 
  | 
|   | 
| 
array  | $nodetype = array('node','branch') | 
|   | An array of different node types. 
  | 
|   | 
◆ convert()
      
        
          | navigation_json::convert  | 
          ( | 
            | 
          $branch | ) | 
           | 
        
      
 
Turns a branch and all of its children into XML. 
- Parameters
 - 
  
  
 
- Return values
 - 
  
  
 
 
 
◆ convert_child()
  
  
      
        
          | navigation_json::convert_child  | 
          ( | 
            | 
          $child,  | 
         
        
           | 
           | 
            | 
          $depth = 1  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
Recusively converts a child node and its children to XML for output. 
- Parameters
 - 
  
    | navigation_node | $child | The child to convert  | 
    | int | $depth | Pointlessly used to track the depth of the XML structure  | 
  
   
- Return values
 - 
  
  
 
 
 
◆ set_expandable()
      
        
          | navigation_json::set_expandable  | 
          ( | 
            | 
          $expandable | ) | 
           | 
        
      
 
Set the expandable items in the array so that we have enough information to attach AJAX events. 
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: