Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 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