|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| environment_results ($part) | |
| setStatus ($status) | |
| setErrorCode ($error_code) | |
| setLevel ($level) | |
| setCurrentVersion ($current_version) | |
| setNeededVersion ($needed_version) | |
| setInfo ($info) | |
| setFeedbackStr ($str) | |
| setBypassStr ($str) | |
| setRestrictStr ($str) | |
| getStatus () | |
| getErrorCode () | |
| getLevel () | |
| getCurrentVersion () | |
| getNeededVersion () | |
| getInfo () | |
| getPart () | |
| getFeedbackStr () | |
| getBypassStr () | |
| getRestrictStr () | |
| strToReport ($string, $class) | |
Data Fields | |
| $part | |
| $status | |
| $error_code | |
| $level | |
| $current_version | |
| $needed_version | |
| $info | |
| $feedback_str | |
| $bypass_str | |
| $restrict_str | |
Definition at line 1056 of file environmentlib.php.
| environment_results | ( | $ | part | ) |
Constructor of the environment_result class. Just set default values
| string | $part |
Definition at line 1103 of file environmentlib.php.

| getBypassStr | ( | ) |
Get the bypass string
Definition at line 1289 of file environmentlib.php.
Get the current version
Definition at line 1242 of file environmentlib.php.
| getErrorCode | ( | ) |
| getFeedbackStr | ( | ) |
Get the feedback string
Definition at line 1279 of file environmentlib.php.
| getInfo | ( | ) |
Get the aux info
Definition at line 1260 of file environmentlib.php.

| getLevel | ( | ) |
| getNeededVersion | ( | ) |
Get the needed version
Definition at line 1251 of file environmentlib.php.
| getPart | ( | ) |
Get the part this result belongs to
Definition at line 1269 of file environmentlib.php.
| getRestrictStr | ( | ) |
Get the restrict string
Definition at line 1299 of file environmentlib.php.
| getStatus | ( | ) |
| setBypassStr | ( | $ | str | ) |
Set the bypass string
| string | $str | the bypass string that will be fetched from the admin lang file. pass just the string or pass an array of params for get_string You always should put your string in admin.php but a third param is useful to pass an $a object / string to get_string |
Definition at line 1194 of file environmentlib.php.
| setCurrentVersion | ( | $ | current_version | ) |
Set the current version
| string | $current_version | the current version |
Definition at line 1151 of file environmentlib.php.
| setErrorCode | ( | $ | error_code | ) |
Set the error_code
| integer | $error_code | the error code (see constants above) |
Definition at line 1133 of file environmentlib.php.

| setFeedbackStr | ( | $ | str | ) |
Set the feedback string
| mixed | $str | the feedback string that will be fetched from the admin lang file. pass just the string or pass an array of params for get_string You always should put your string in admin.php but a third param is useful to pass an $a object / string to get_string |
Definition at line 1181 of file environmentlib.php.
| setInfo | ( | $ | info | ) |
Set the auxiliary info
| string | $info | the auxiliary info |
Definition at line 1169 of file environmentlib.php.

| setLevel | ( | $ | level | ) |
Set the level
| string | $level | the level (required, optional) |
Definition at line 1142 of file environmentlib.php.
| setNeededVersion | ( | $ | needed_version | ) |
Set the needed version
| string | $needed_version | the needed version |
Definition at line 1160 of file environmentlib.php.
| setRestrictStr | ( | $ | str | ) |
Set the restrict string
| string | $str | the restrict string that will be fetched from the admin lang file. pass just the string or pass an array of params for get_string You always should put your string in admin.php but a third param is useful to pass an $a object / string to get_string |
Definition at line 1206 of file environmentlib.php.
| setStatus | ( | $ | status | ) |
Set the status
| boolean | $status | the status (true/false) |
Definition at line 1121 of file environmentlib.php.

| strToReport | ( | $ | string, |
| $ | class | ||
| ) |
| mixed | $string | params for get_string, either a string to fetch from admin.php or an array of params for get_string. |
| string | $class | css class(es) for message. |
Definition at line 1312 of file environmentlib.php.
| $bypass_str |
Definition at line 1092 of file environmentlib.php.
| $current_version |
Definition at line 1076 of file environmentlib.php.
| $error_code |
Definition at line 1068 of file environmentlib.php.
| $feedback_str |
Definition at line 1088 of file environmentlib.php.
| $info |
Definition at line 1084 of file environmentlib.php.
| $level |
Definition at line 1072 of file environmentlib.php.
| $needed_version |
Definition at line 1080 of file environmentlib.php.
| $part |
Definition at line 1060 of file environmentlib.php.
| $restrict_str |
Definition at line 1096 of file environmentlib.php.
| $status |
Definition at line 1064 of file environmentlib.php.