[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/backup/cc/cc_lib/gral_lib/ -> functions.php (summary)

Librería de funciones básicas V1.0 (June, 16th 2009)

Author: Daniel Mühlrad
Copyright: 2009
Version: 1.0
File Size: 131 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  errorHandler()
  file_mime_type()
  array_remove_by_value()
  array_remove_by_key()
  cc_print_object()
  indexOf()
  indexOf2()

Functions
Functions that are not part of a class:

errorHandler($errno, $errstr, $errfile, $errline)   X-Ref
Make a Handler error with an exception msg error

param: integer $errno
param: string $errstr
param: string $errfile
param: string $errline

file_mime_type($file, $default_type = 'application/octet-stream')   X-Ref
Return de mime-type of a file

param: string $file
param: string $default_type

array_remove_by_value($arr,$value)   X-Ref
No description

array_remove_by_key($arr,$key)   X-Ref
No description

cc_print_object($object)   X-Ref
No description

indexOf($needle, $haystack)   X-Ref
IndexOf - first version of find an element in the Array given
returns the index of the *first* occurance

param: mixed $needle
param: array $haystack
return: mixed The element or false if the function didnt find it

indexOf2($needle, $haystack)   X-Ref
IndexOf2 - second version of find an element in the Array given

param: mixed $needle
param: array $haystack
return: mixed The index of the element or false if the function didnt find it



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1