ISPAPI Util
package |
ISPAPI |
---|
command_encode(array $commandarray) : string
array
Command array
string
Encoded command as a string
is_associative(array $arr) : boolean
array
An array
boolean
True if associative array
response_to_hash(string $response) : array
string
array
The response as a hash
response_to_list_hash(string $response) : array
string
array
The response as a list hash
sqltime(string|int $timestamp = null) : \ISPAPI\datetime
string|int
A Unix-Timestamp or nothing
\ISPAPI\datetime
The SQL datetime
timesql(\ISPAPI\datetime $sqldatetime) : int
\ISPAPI\datetime
The SQL datetime
int
A Unix-Timestamp
url_encode(string $string) : string
string
The string
string
The encoded url string
url_decode(string $string) : string
string
The encoded URL string
string
The decoded string
base64_decode(string $string) : string
string
The string
string
The encoded base64 string
base64_encode(string $string) : string
string
The encoded base64 string
string
The decoded string