calculateCommonHostSuffix [line 63]
string calculateCommonHostSuffix(
array $hosts
)
|
|
Parameters:
array |
$hosts: |
list of strings (hosts) |
API Tags:
Return: | the common suffix |
debug [line 31]
write debug messages to the log
Parameters:
downloadFile [line 98]
void downloadFile(
$url
)
|
|
Parameters:
fetch_raw_db_data [line 48]
void fetch_raw_db_data(
$table, $row
)
|
|
Parameters:
getLocalisedValue [line 134]
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 |
uuid [line 118]
UUID uuid(
[string $prefix = '']
)
|
|
generates a UUID
Parameters:
string |
$prefix: |
an extra prefix to set before the UUID |
API Tags:
Return: | (possibly prefixed) |