## Class mr_fixture_group_member

Description

MR Fixture Group Member

- author: Mark Nielsen

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

    mr_fixture_abstract
       |
       --mr_fixture_group_member

Variable Summary
mr_fixture_enrollment $enrollment
mr_fixture_group $group
Method Summary
mr_fixture_group_member __construct (mr_fixture_group $group, mr_fixture_enrollment $enrollment)
void build ()
void destroy ()
boolean exists ()
\mr_fixture_enrollment get_enrollment ()
\mr_fixture_group get_group ()
mr_fixture_user get_user ()
mr_fixture_group_member set_enrollment (\mr_fixture_enrollment $enrollment)
mr_fixture_group_member set_group (\mr_fixture_group $group)
Variables
mr_fixture_enrollment $enrollment (line 47)

- access: protected

mr_fixture_group $group (line 42)

- access: protected

#### Inherited Variables

Inherited from mr_fixture_abstract

> mr_fixture_abstract::$results

Methods
Constructor __construct (line 53)

- access: public

mr_fixture_group_member __construct (mr_fixture_group $group, mr_fixture_enrollment $enrollment)

- mr_fixture_group $group: The group to use for the membership
- mr_fixture_enrollment $enrollment: The enrollment to use for the membership

Redefinition of:

mr_fixture_abstract::__construct()

build (line 66)

Create the fixture

This method must be safe to call multiple times.

- throws: moodle_exception
- access: public

void build ()
destroy (line 91)

Delete the fixture

This method must be safe to call multiple times.

- throws: moodle_exception
- access: public

void destroy ()
exists (line 106)

Determine if the fixture exists

- access: public

boolean exists ()
get_enrollment (line 145)

- access: public

\mr_fixture_enrollment get_enrollment ()
get_group (line 129)

- access: public

\mr_fixture_group get_group ()
get_user (line 152)

- access: public

mr_fixture_user get_user ()
set_enrollment (line 137)

- access: public

mr_fixture_group_member set_enrollment (\mr_fixture_enrollment $enrollment)

- \mr_fixture_enrollment $enrollment

set_group (line 121)

- access: public

mr_fixture_group_member set_group (\mr_fixture_group $group)

- \mr_fixture_group $group

#### 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:49 -0700 by phpDocumentor 1.4.3