|
static | IsIPv4 ($ip) |
|
static | IsIPv6 ($ip) |
|
static | DownloadUrl ($url, $saveTo=NULL) |
|
static | GetAllFiles ($root, $trimRoot=FALSE, $level=0) |
|
static | GetAllFolders ($root, $recursive=FALSE, $trimRoot=FALSE, $level=0) |
|
static | HttpErrorCode ($code=401, $message=NULL) |
|
static | GetServerName () |
|
static | GetServerUrl ($url="") |
|
static | GetUploadUrl ($url="") |
|
static | CombineUrl ($path1, $path2) |
|
static | CombinePath ($path1, $path2, $separator=DIRECTORY_SEPARATOR) |
|
static | GetDateTimeZoneUTC () |
|
static | GetCurrentDateTime ($timezone=NULL) |
|
static | GetCurrentDateTimeFormat ($format="Y-m-d H:i:s", $timezone=NULL) |
|
static | GetClientIP () |
|
static | TicksToTime ($ticks) |
|
static | TimeToTicks ($time) |
|
static | StringToTicks ($str) |
|
static | NewGUID () |
|
static | RedirectTo ($url="") |
|
static | RedirectToSelf () |
|
static | ServerResponseRequired () |
|
static | EchoJson ($text, $encodeJson=FALSE, $encryptResponse=FALSE) |
|
static | EchoXml ($xml, $encryptResponse=FALSE) |
|
static | EchoUnauthorized ($text="") |
|
static | StartsWith ($text, $search, $ignoreCase=false) |
|
static | EndsWith ($text, $search, $ignoreCase=false) |
|
static | GetTimestamp ($data, $add_days=0) |
|
static | IsValidDate ($text) |
|
static | IsValidTime ($text) |
|
static | ConvertSizeFromBytes ($bytes, $to=NULL) |
|
static | ExtractSearchKeywords ($searchText) |
|
static | CalcPercentage ($total, $count) |
|
static | GetPageOffset ($page, $limit) |
|
static | GetPagesCount ($count, $limit) |
|
static | GetValidFilename ($oldName, $newExt="") |
|
static | GetFilenameExtension ($filename) |
|
static | GetTempname ($fileExt=".tmp") |
|
static | GenerateRandomCode ($length=0) |
|
static | IsValidEmail ($email) |
|
static | JsonEncodeRowsMessage ($rows, $count, $pagesCount=NULL, $extraParams=NULL) |
|
static | JsonEncodeSuccessMessage ($success=true, $message="", $errors=array()) |
|
static | FillObjectFromRequest (&$obj) |
|
static | FillObjectFromRow (&$obj, $row, $stripSlashes=false, $callbackOnExists=false) |
|
static | ObjectToArray ($obj) |
|
Definition at line 5 of file Utils.php.