Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(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: 132 lines (4 kb)
Included or required:0 times
Referenced: 2 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