Class mr_fixture_course

Description

MR Fixture Course

  • author: Mark Nielsen

Located in /fixture/course.php (line 37)

mr_fixture_abstract
   |
   --mr_fixture_course
Variable Summary
array $options
Method Summary
mr_fixture_course __construct ([array|object  $options = array()])
void build ()
void destroy ()
boolean exists ()
array get_options ()
mr_fixture_course set_options (array|object  $options)
Variables
array $options = array() (line 43)

Properties to use for the course

  • access: protected

Inherited Variables

Inherited from mr_fixture_abstract

mr_fixture_abstract::$results
Methods
Constructor __construct (line 48)
  • access: public
mr_fixture_course __construct ([array|object  $options = array()])
  • array|object $options: Properties to use for the course

Redefinition of:
mr_fixture_abstract::__construct()
build (line 61)

Create the fixture

This method must be safe to call multiple times.

  • throws: moodle_exception
  • access: public
void build ()
destroy (line 95)

Delete the fixture

This method must be safe to call multiple times.

  • throws: moodle_exception
  • access: public
void destroy ()
exists (line 107)

Determine if the fixture exists

  • access: public
boolean exists ()
get_options (line 133)

Get the properties used for the course

  • access: public
array get_options ()
set_options (line 123)

Set properties to use for the course

  • access: public
mr_fixture_course set_options (array|object  $options)
  • array|object $options

Inherited Methods

Inherited From mr_fixture_abstract

mr_fixture_abstract::__construct()
mr_fixture_abstract::get()
mr_fixture_abstract::get_results()
mr_fixture_abstract::set_results()

Documentation generated on Thu, 28 Jun 2012 16:33:48 -0700 by phpDocumentor 1.4.3