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

Public Member Functions

 build ()
 define_settings ()

Detailed Description

Instantiable class extending backup_task in order to be able to perform tests

Definition at line 230 of file testtask.php.


Member Function Documentation

build ( )

Function responsible for building the steps of any task (must set the $built property to true)

Reimplemented from base_task.

Definition at line 231 of file testtask.php.

This function is invoked on activity creation in order to add all the settings that are associated with one task. The function will, directly, inject the settings in the task.

Reimplemented from base_task.

Definition at line 234 of file testtask.php.


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