Moodle  2.2.1
http://www.collinsharper.com
mnetservice_enrol_existing_users_selector Class Reference
Inheritance diagram for mnetservice_enrol_existing_users_selector:
Collaboration diagram for mnetservice_enrol_existing_users_selector:

Public Member Functions

 __construct ($name, $options)
 find_users ($search)

Protected Member Functions

 get_options ()

Protected Attributes

 $hostid
 $remotecourseid

Detailed Description

Selector of our users enrolled into remote course via enrol_mnet plugin

Definition at line 459 of file locallib.php.


Constructor & Destructor Documentation

__construct ( name,
options 
)

Constructor. Each subclass must have a constructor with this signature.

Parameters:
string$namethe control name/id for use in the HTML.
array$optionsother options needed to construct this selector. You must be able to clone a userselector by doing new get_class($us)($us->get_name(), $us->get_options());

Reimplemented from user_selector_base.

Definition at line 465 of file locallib.php.


Member Function Documentation

find_users ( search)

Find our users currently enrolled into the remote course

Parameters:
string$search
Returns:
array

Reimplemented from user_selector_base.

Definition at line 477 of file locallib.php.

Here is the call graph for this function:

get_options ( ) [protected]

Note: this function must be implemented if you use the search ajax field (e.g. set $options['file'] = '/admin/filecontainingyourclass.php';)

Returns:
array the options needed to recreate this user_selector.

Reimplemented from user_selector_base.

Definition at line 516 of file locallib.php.


Field Documentation

$hostid [protected]

Definition at line 461 of file locallib.php.

$remotecourseid [protected]

Definition at line 463 of file locallib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations