Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/configonlylib.php File Reference

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 ()

Function Documentation

min_clean_param ( value,
type 
)

Minimalistic parameter cleaning function. Can not use optional param because moodlelib.php is not loaded yet

Parameters:
string$name
mixed$default
string$type
Returns:
mixed

Definition at line 59 of file configonlylib.php.

Here is the caller graph for this function:

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.)

Returns:
boolean, true if compression enabled

Definition at line 85 of file configonlylib.php.

Here is the caller graph for this function:

min_optional_param ( name,
default,
type 
)

Minimalistic parameter validation function. Can not use optional param because moodlelib.php is not loaded yet

Parameters:
string$name
mixed$default
string$type
Returns:
mixed

Definition at line 38 of file configonlylib.php.

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations