Method: __call
Since: 0.1
Visibility: Protected
Parameters:
Variable
Type
Description
$name
string
The name of the method that was called.
$arguments
array
The arguments that was passed to the method.
Returns:
mixed
The value that the method returned.
Description:
Allow methods to be stored as files. If the function needs to return a value, then it should have a variable named $return with the value to be returned.
Method: ArrayAsString
Since: 0.1
Visibility: Protected
Parameters:
Variable
Type
Description
$data
array
The array to be converted to a string.
Returns:
string
The string representation of the array. Returned string will look something similiar to: "key1=>value1|key2=>value2|".
Description:
Convert the given array to a string.
Method: StringAsArray
Since: 0.1
Visibility: Protected
Parameters:
Variable
Type
Description
$data
string
The string to be converted to an array. The string should use "|" to separate items and "=>" to separate keys and their values.
Returns:
array
The array representation of the array.
Description:
Convert the given string to an array.
Method: UploadsDirectories
Since: 0.1
Visibility: Protected
Parameters:
Variable
Type
Description
$cur_dir
string
The current directory.
$result
array
Optional. The current result set.
Returns:
array
The list of directories under the uploads directory.
Description:
Return a list of all the directories under the uploads directory.