|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Functions | |
| errorHandler ($errno, $errstr, $errfile, $errline) | |
| file_mime_type ($file, $default_type= 'application/octet-stream') | |
| array_remove_by_value ($arr, $value) | |
| array_remove_by_key ($arr, $key) | |
| cc_print_object ($object) | |
| indexOf ($needle, $haystack) | |
| indexOf2 ($needle, $haystack) | |
| array_remove_by_key | ( | $ | arr, |
| $ | key | ||
| ) |
Definition at line 85 of file functions.php.
| array_remove_by_value | ( | $ | arr, |
| $ | value | ||
| ) |
Definition at line 79 of file functions.php.
| cc_print_object | ( | $ | object | ) |
Definition at line 91 of file functions.php.
| errorHandler | ( | $ | errno, |
| $ | errstr, | ||
| $ | errfile, | ||
| $ | errline | ||
| ) |
Librería de funciones básicas V1.0 (June, 16th 2009)
Definition at line 39 of file functions.php.
| file_mime_type | ( | $ | file, |
| $ | default_type = 'application/octet-stream' |
||
| ) |
Return de mime-type of a file
| string | $file | |
| string | $default_type |
Definition at line 54 of file functions.php.
| indexOf | ( | $ | needle, |
| $ | haystack | ||
| ) |
IndexOf - first version of find an element in the Array given returns the index of the *first* occurance
| mixed | $needle | |
| array | $haystack |
Definition at line 105 of file functions.php.

| indexOf2 | ( | $ | needle, |
| $ | haystack | ||
| ) |
IndexOf2 - second version of find an element in the Array given
| mixed | $needle | |
| array | $haystack |
Definition at line 123 of file functions.php.