|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| setMethod ($method) | |
Static Public Member Functions | |
| static | fetch ($params) |
| static | fetch_all ($params) |
Data Fields | |
| $table = 'course_completion_aggr_methd' | |
| $required_fields = array('id', 'course', 'criteriatype', 'method', 'value') | |
| $course | |
| $criteriatype | |
| $method | |
| $value | |
Course completion critieria aggregation
Definition at line 32 of file completion_aggregation.php.
| static fetch | ( | $ | params | ) | [static] |
Finds and returns a data_object instance based on params. abstract
| array | $params | associative arrays varname=>value |
Reimplemented from data_object.
Definition at line 82 of file completion_aggregation.php.

| static fetch_all | ( | $ | params | ) | [static] |
Finds and returns all data_object instances based on params. abstract
| array | $params | associative arrays varname=>value |
Reimplemented from data_object.
Definition at line 94 of file completion_aggregation.php.
| setMethod | ( | $ | method | ) |
Set the aggregation method public
| $method | int |
Definition at line 102 of file completion_aggregation.php.
Definition at line 51 of file completion_aggregation.php.
| $criteriatype |
Definition at line 58 of file completion_aggregation.php.
| $method |
Definition at line 65 of file completion_aggregation.php.
Array of required table fields, must start with 'id'.
Reimplemented from data_object.
Definition at line 44 of file completion_aggregation.php.
| string $table = 'course_completion_aggr_methd' |
Definition at line 72 of file completion_aggregation.php.