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

Public Member Functions

 get_paths ()
 process_wiki ($data)
 on_wiki_entries_start ()
 on_wiki_entries_end ()
 process_wiki_entry ($data)
 on_wiki_entry_end ()
 on_wiki_pages_start ()
 on_wiki_pages_end ()
 process_wiki_entry_page ($data)
 on_wiki_entry_page_end ()
 on_wiki_end ()

Protected Attributes

 $initialcontent
 $initialcontentfilename
 $needinitpage = false
 $databuf = array()
 $fileman = null
 $moduleid = null

Detailed Description

Wiki conversion handler

Definition at line 33 of file lib.php.


Member Function Documentation

get_paths ( )

Declare the paths in moodle.xml we are able to convert

The method returns list of convert_path instances. For each path returned, the corresponding conversion method must be defined.

Note that the path /MOODLE_BACKUP/COURSE/MODULES/MOD/WIKI does not actually exist in the file. The last element with the module name was appended by the moodle1_converter class.

Returns:
array of convert_path instances

Definition at line 66 of file lib.php.

This is executed when we reach the closing </MOD> tag of our 'wiki' path

Definition at line 248 of file lib.php.

Here is the call graph for this function:

Definition at line 191 of file lib.php.

Here is the caller graph for this function:

Definition at line 186 of file lib.php.

Here is the caller graph for this function:

Definition at line 207 of file lib.php.

Here is the caller graph for this function:

Definition at line 241 of file lib.php.

Here is the caller graph for this function:

Definition at line 215 of file lib.php.

Here is the caller graph for this function:

Definition at line 211 of file lib.php.

Here is the caller graph for this function:

process_wiki ( data)

This is executed every time we have one /MOODLE_BACKUP/COURSE/MODULES/MOD/WIKI data available

Definition at line 137 of file lib.php.

Here is the call graph for this function:

process_wiki_entry ( data)

Definition at line 195 of file lib.php.

Here is the caller graph for this function:

Definition at line 219 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$databuf = array() [protected]

Definition at line 45 of file lib.php.

$fileman = null [protected]

Definition at line 48 of file lib.php.

$initialcontent [protected]

Definition at line 36 of file lib.php.

$initialcontentfilename [protected]

Definition at line 39 of file lib.php.

$moduleid = null [protected]

Definition at line 51 of file lib.php.

$needinitpage = false [protected]

Definition at line 42 of file lib.php.


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