Main Page   Compound List   File List   Compound Members   File Members  

general.php File Reference

Go to the source code of this file.

Functions

 array_to_hash ($arr1,$arr2)
 convert 2 array as an hash having values of 1th array as key for values of second array

 transpose ($arr)
 transpose a matrix

 isodate ($datearr)
 isodate

 is_date ($datearr)
 is_date

 isotime ($timearr)
 isotime

 df ($date="",$fmt=false)
 return a date string

 o_iftrue ($fmt,$str)
 return a string formatted as defined if $str is not null

 clean_exif (&$arr)
 clean an array from binary values

 exif_to_array ($exif)
 manage exif data from jpeg/tiff image, from the db

 array_to_exif ($exif_array)
 manage exif data from jpeg/tiff image, to insert into a db

 secure_unset ($name)
 array_unset (&$array,$keys)
 getmicrotime ()


Function Documentation

array_to_exif   exif_array
 

manage exif data from jpeg/tiff image, to insert into a db

NOT USED!!

Parameters:
exif 

Definition at line 212 of file general.php.

array_to_hash   arr1,
  arr2
 

convert 2 array as an hash having values of 1th array as key for values of second array

Parameters:
arr1  array to use as keys
arr2  array of values
Returns:
associative array

Definition at line 29 of file general.php.

array_unset &$    array,
  keys
 

Definition at line 234 of file general.php.

Referenced by Pgtable::delete(), and Pgtable::search().

clean_exif &$    arr
 

clean an array from binary values

it is used to clean exif results from jpeg/tiff images. It clean $arr from bad insignificant binary values to bestored in a db without errors

Parameters:
&  $arr multidimensional array
Returns:
parsed &$arr

Definition at line 166 of file general.php.

df   date = "",
  fmt = false
 

return a date string

Not used, bad for global variable $SQL_DATE_FMT return date string (actual if not defined, else in $SQL_DATE_FMT format(ymd, mdy, dmy)) in it_IT format

Parameters:
date=  '' date, default current in
ftm=false , format  of date as strftime function (es : 'x', that is the default)
Returns:
date

Definition at line 123 of file general.php.

exif_to_array   exif
 

manage exif data from jpeg/tiff image, from the db

NOT USED!!

Parameters:
exif 

Definition at line 188 of file general.php.

getmicrotime  
 

Definition at line 247 of file general.php.

Referenced by Pgtable::search().

is_date   datearr
 

is_date

Parameters:
datearr 
Returns:
checkdate

Definition at line 90 of file general.php.

isodate   datearr
 

isodate

Parameters:
datearr 
Returns:
isodate

Definition at line 75 of file general.php.

References isodate().

Referenced by isodate().

isotime   timearr
 

isotime

Parameters:
timearr 
Returns:
isotime

Definition at line 101 of file general.php.

References isotime().

Referenced by isotime().

o_iftrue   fmt,
  str
 

return a string formatted as defined if $str is not null

Parameters:
ftm  format
str  string
Returns:
string

Definition at line 147 of file general.php.

secure_unset   name
 

Definition at line 225 of file general.php.

transpose   arr
 

transpose a matrix

Parameters:
arr  bidimensional array
Returns:
transpose array

Definition at line 50 of file general.php.

Referenced by html_table(), and Pgtable::search().


Generated on Mon Nov 29 01:21:58 2004 for phpPgWeb by doxygen1.2.18