Moodle  2.2.1
http://www.collinsharper.com
global_navigation_for_ajax Class Reference
Inheritance diagram for global_navigation_for_ajax:
Collaboration diagram for global_navigation_for_ajax:

Public Member Functions

 __construct ($page, $branchtype, $id)
 initialise ()
 get_expandable ()

Protected Attributes

 $branchtype
 $instanceid
 $expandable = array()

Detailed Description

Definition at line 2485 of file navigationlib.php.


Constructor & Destructor Documentation

__construct ( page,
branchtype,
id 
)

Constructs the navigation for use in AJAX request

Definition at line 2496 of file navigationlib.php.

Here is the call graph for this function:


Member Function Documentation

Returns an array of expandable nodes

Returns:
array

Definition at line 2596 of file navigationlib.php.

Initialise the navigation given the type and id for the branch to expand.

Returns:
array The expandable nodes

Reimplemented from global_navigation.

Definition at line 2509 of file navigationlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$branchtype [protected]

Definition at line 2487 of file navigationlib.php.

$expandable = array() [protected]

Definition at line 2491 of file navigationlib.php.

$instanceid [protected]

Definition at line 2488 of file navigationlib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations