Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

(no description)

Copyright: 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 130 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

base_step:: (12 methods):
  __construct()
  get_name()
  set_task()
  destroy()
  log()
  get_settings()
  get_setting()
  setting_exists()
  get_setting_value()
  get_courseid()
  get_basepath()
  get_logger()

base_step_exception:: (1 method):
  __construct()


Class: base_step  - X-Ref

Abstract class defining the basis for one execution (backup/restore) step

TODO: Finish phpdocs
__construct($name, $task = null)   X-Ref
Constructor - instantiates one object of this class


get_name()   X-Ref
No description

set_task($task)   X-Ref
No description

destroy()   X-Ref
Destroy all circular references. It helps PHP 5.2 a lot!


log($message, $level, $a = null, $depth = null, $display = false)   X-Ref
No description

get_settings()   X-Ref
No description

get_setting($name)   X-Ref
No description

setting_exists($name)   X-Ref
No description

get_setting_value($name)   X-Ref
No description

get_courseid()   X-Ref
No description

get_basepath()   X-Ref
No description

get_logger()   X-Ref
No description

Class: base_step_exception  - X-Ref

__construct($errorcode, $a=NULL, $debuginfo=null)   X-Ref
No description