phpDocumentor Developer
[ class tree: Developer ] [ index: Developer ] [ all elements ]

Procedural File: Helper.php

Source Location: /core/Helper.php

Page Details

This file contains a random assortment of useful functions and classes.

Author:  Stefan Winter <stefan.winter@restena.lu>
Author:  Tomasz Wolniewicz <twoln@umk.pl>
Includes
require_once (dirname(dirname(__FILE__))."/config/_config.php") [line 20]

necessary includes

[ Top ]


Constants
L_ERROR  [line 25]

L_ERROR = 256

[ Top ]

L_OK  [line 22]

L_OK = 0

[ Top ]

L_REMARK  [line 23]

L_REMARK = 4

[ Top ]

L_WARN  [line 24]

L_WARN = 32

[ Top ]


Functions
calculateCommonHostSuffix  [line 74]

string calculateCommonHostSuffix( array $hosts  )
Parameters:
array   $hosts:  list of strings (hosts)

API Tags:
Return:  the common suffix


[ Top ]
debug  [line 36]

void debug( $level, $t  )

write debug messages to the log

Parameters:
   $level: 
   $t: 


[ Top ]
downloadFile  [line 112]

void downloadFile( $url  )
Parameters:
   $url: 


[ Top ]
error  [line 28]

void error( $t  )
Parameters:
   $t: 


[ Top ]
getLocalisedValue  [line 155]

string getLocalisedValue( array $val_arr, string $locale  )

pick a proper value for a given language

Parameters:
array   $val_arr:  an array of (locale,content) records
string   $locale:  locale language code

API Tags:
Return:  localised value corresponding to the chosen locale or to the defalut locale C if a better mach was not available


[ Top ]
png_inject_consortium_logo  [line 175]

void png_inject_consortium_logo( $inputpngstring, [ $symbolsize = 12], [ $marginsymbols = 4]  )
Parameters:
   $inputpngstring: 
   $symbolsize: 
   $marginsymbols: 


[ Top ]
rrmdir  [line 57]

void rrmdir( $dir  )

this direcory delete function has been copied from PHP documentation

Parameters:
   $dir: 


[ Top ]
uuid  [line 135]

UUID uuid( [string $prefix = ''], [ $deterministic_source = NULL]  )

generates a UUID

Parameters:
string   $prefix:  an extra prefix to set before the UUID
   $deterministic_source: 

API Tags:
Return:  (possibly prefixed)


[ Top ]


Documentation generated on Tue, 06 Oct 2015 06:11:17 +0000 by phpDocumentor 1.4.4