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

Public Member Functions

 get_paths ()
 process_course_header ($data, $raw)
 process_course_header_category ($data)
 on_course_header_end ()

Protected Attributes

 $course = array()
 $courseraw = array()
 $category

Detailed Description

Handles the conversion of /MOODLE_BACKUP/COURSE/HEADER paths

Definition at line 659 of file handlerlib.php.


Member Function Documentation

get_paths ( )

Definition at line 670 of file handlerlib.php.

Definition at line 735 of file handlerlib.php.

Here is the call graph for this function:

process_course_header ( data,
raw 
)

Because there is the CATEGORY branch in the middle of the COURSE/HEADER branch, this is dispatched twice. We use $this->coursecooked to merge the result. Once the parser is fixed, it can be refactored.

Definition at line 726 of file handlerlib.php.

Definition at line 731 of file handlerlib.php.


Field Documentation

$category [protected]

Definition at line 668 of file handlerlib.php.

$course = array() [protected]

Definition at line 662 of file handlerlib.php.

$courseraw = array() [protected]

Definition at line 665 of file handlerlib.php.


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