|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Functions | |
| min_optional_param ($name, $default, $type) | |
| min_clean_param ($value, $type) | |
| min_enable_zlib_compression () | |
| min_clean_param | ( | $ | value, |
| $ | type | ||
| ) |
Minimalistic parameter cleaning function. Can not use optional param because moodlelib.php is not loaded yet
| string | $name | |
| mixed | $default | |
| string | $type |
Definition at line 59 of file configonlylib.php.

This method tries to enable output compression if possible. This function must be called before any output or headers.
(IE6 is not supported at all.)
Definition at line 85 of file configonlylib.php.

| min_optional_param | ( | $ | name, |
| $ | default, | ||
| $ | type | ||
| ) |
Minimalistic parameter validation function. Can not use optional param because moodlelib.php is not loaded yet
| string | $name | |
| mixed | $default | |
| string | $type |
Definition at line 38 of file configonlylib.php.
