Method | Description | |
---|---|---|
addSetting ( $name, $value ) | ||
cleanAndShortenString ( $string, $length ) | Remove HTML from a string and shorten to the specified length. | |
deleteSetting ( $name ) | ||
extractString ( $string, $start, $end ) | Function that returns the string contained between two strings. | |
getAdminstratorName ( $login ) | Returns the name associated to the specified administrator login. | |
getBaseUrl ( ) | Returns the base URL from the requested URL. | |
getDatabaseSize ( $measurment = "" ) | Get the size of the database. | |
getSetting ( $name ) | Returns the value for the specified setting name. | |
paginateArray ( $inArray, $page, $itemsPerPage ) | Pagination. | |
pdoOpen ( ) | Open a connection to the database. | |
postBack ( ) | Check if page load is a post back. | |
randomString ( $length ) | Generate a random string of the given length. | |
removeExtension ( $fileName ) | Returns the supplied file name without an extension. | |
removeHtmlTags ( $string ) | Remove all HTML tags from a string. | |
sendEmail ( $to, $subject, $message ) | Send an email. | |
stringToBoolean ( $value ) | Return a boolean from a string. | |
updateSetting ( $name, $value ) | Updates the value for the specified setting name. |
public cleanAndShortenString ( $string, $length ) |
public extractString ( $string, $start, $end ) |
public getAdminstratorName ( $login ) |
public getDatabaseSize ( $measurment = "" ) |
public getSetting ( $name ) |
public randomString ( $length ) |
public removeExtension ( $fileName ) |
public removeHtmlTags ( $string ) |
public updateSetting ( $name, $value ) |