Librería de funciones básicas V1.0 (June, 16th 2009)
More...
|
|
| array_remove_by_key ($arr, $key) |
| |
|
| array_remove_by_value ($arr, $value) |
| |
|
| cc_print_object ($object) |
| |
| | errorHandler ($errno, $errstr, $errfile, $errline) |
| | Make a Handler error with an exception msg error.
|
| |
| | 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.
|
| |
Librería de funciones básicas V1.0 (June, 16th 2009)
- Author
- Daniel Mühlrad @externalurl danie.nosp@m.l.mu.nosp@m.hlrad.nosp@m.@uvc.nosp@m.ms.co.nosp@m.m
- Version
- 1.0
- Copyright
- 2009
◆ errorHandler()
| errorHandler |
( |
|
$errno, |
|
|
|
$errstr, |
|
|
|
$errfile, |
|
|
|
$errline |
|
) |
| |
Make a Handler error with an exception msg error.
- Parameters
-
| integer | $errno | |
| string | $errstr | |
| string | $errfile | |
| string | $errline | |
◆ file_mime_type()
| file_mime_type |
( |
|
$file, |
|
|
|
$default_type = 'application/octet-stream' |
|
) |
| |
Return de mime-type of a file.
- Parameters
-
| string | $file | |
| string | $default_type | |
◆ indexOf()
| indexOf |
( |
|
$needle, |
|
|
|
$haystack |
|
) |
| |
IndexOf - first version of find an element in the Array given returns the index of the first occurance.
- Parameters
-
| mixed | $needle | |
| array | $haystack | |
- Return values
-
| mixed | The element or false if the function didnt find it |
◆ indexOf2()
| indexOf2 |
( |
|
$needle, |
|
|
|
$haystack |
|
) |
| |
IndexOf2 - second version of find an element in the Array given.
- Parameters
-
| mixed | $needle | |
| array | $haystack | |
- Return values
-
| mixed | The index of the element or false if the function didnt find it |