Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
array_remove_by_key ($arr, $key) | |
array_remove_by_value ($arr, $value) | |
cc_print_object ($object) | |
errorHandler ($errno, $errstr, $errfile, $errline) | |
Librería de funciones básicas V1.0 (June, 16th 2009) | |
file_mime_type ($file, $default_type='application/octet-stream') | |
Return de mime-type of a file. | |
indexOf ($needle, $haystack) | |
IndexOf - first version of find an element in the Array given returns the index of the first occurance. | |
indexOf2 ($needle, $haystack) | |
IndexOf2 - second version of find an element in the Array given. | |
errorHandler | ( | $errno, | |
$errstr, | |||
$errfile, | |||
$errline ) |
Librería de funciones básicas V1.0 (June, 16th 2009)
integer | $errno | |
string | $errstr | |
string | $errfile | |
string | $errline |
file_mime_type | ( | $file, | |
$default_type = 'application/octet-stream' ) |
Return de mime-type of a file.
string | $file | |
string | $default_type |
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 |
mixed | The element or false if the function didnt find it |
indexOf2 | ( | $needle, | |
$haystack ) |
IndexOf2 - second version of find an element in the Array given.
mixed | $needle | |
array | $haystack |
mixed | The index of the element or false if the function didnt find it |