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

Public Member Functions

 get_paths ()
 process_legacy_resource (array $data, array $raw)
 on_legacy_resource_end (array $data)

Detailed Description

Base class for all modules that are successors of the 1.9 resource module

Definition at line 1956 of file handlerlib.php.


Member Function Documentation

get_paths ( ) [final]

Resource successors do not attach to paths themselves, they are called explicitely by moodle1_mod_resource_handler

Returns:
array

Definition at line 1964 of file handlerlib.php.

Called when the parses reaches the end </MOD> resource tag

Parameters:
array$datathe data returned by self::process_resource or just pre-cooked

Definition at line 1984 of file handlerlib.php.

process_legacy_resource ( array data,
array raw 
)

Converts /MOODLE_BACKUP/COURSE/MODULES/MOD/RESOURCE data

Called by moodle1_mod_resource_handler::process_resource()

Parameters:
array$datapre-cooked legacy resource data
array$rawraw legacy resource data

Definition at line 1976 of file handlerlib.php.


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