## Class mr_fixture_group

Description

MR Fixture Group

- author: Mark Nielsen

Located in /fixture/group.php (line 38)

    mr_fixture_abstract
       |
       --mr_fixture_group

Variable Summary
mr_fixture_course $course
array $options
Method Summary
mr_fixture_group __construct (mr_fixture_course $course, [array|object $options = array()])
void build ()
void destroy ()
boolean exists ()
\mr_fixture_course get_course ()
array get_options ()
mr_fixture_group set_course (\mr_fixture_course $course)
mr_fixture_user set_options (array|object $options)
Variables
mr_fixture_course $course (line 42)

- access: protected

array $options = array() (line 49)

Parameters used to create the group

- access: protected

#### Inherited Variables

Inherited from mr_fixture_abstract

> mr_fixture_abstract::$results

Methods
Constructor __construct (line 55)

- access: public

mr_fixture_group __construct (mr_fixture_course $course, [array|object $options = array()])

- mr_fixture_course $course: The course to create the group in
- array|object $options: Parameters to use to create the group

Redefinition of:

mr_fixture_abstract::__construct()

build (line 69)

Create the fixture

This method must be safe to call multiple times.

- throws: moodle_exception
- access: public

void build ()
destroy (line 97)

Delete the fixture

This method must be safe to call multiple times.

- throws: moodle_exception
- access: public

void destroy ()
exists (line 109)

Determine if the fixture exists

- access: public

boolean exists ()
get_course (line 131)

- access: public

\mr_fixture_course get_course ()
get_options (line 151)

Get the properties used for the enrollment

- access: public

array get_options ()
set_course (line 123)

- access: public

mr_fixture_group set_course (\mr_fixture_course $course)

- \mr_fixture_course $course

set_options (line 141)

Set properties to use for the enrollment

- access: public

mr_fixture_user 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