Method |
Description |
|
__construct ( mixed $value ) |
Constructor. |
|
__toString ( ) : mixed |
To string implementation. |
|
isArrayObject ( mixed $var ) : boolean |
Check if $var is an instance of ArrayObject. |
|
isDateTimeObject ( mixed $var ) : boolean |
Check if $var is an instance of DateTimeObject. |
|
isFileObject ( mixed $var ) : boolean |
Check if $var is an instance of FileObject. |
|
isStringObject ( mixed $var ) : boolean |
Check if $var is an instance of StringObject. |
|
isUrlObject ( mixed $var ) : boolean |
Check if $var is an instance of UrlObject. |
|
returnStdObject ( mixed &$var ) : ArrayObject | StdObjectWrapper | StringObject |
This function make sure you are returning a standard object. |
|
toArray ( mixed $var ) : array |
Returns an array based on given $var. |
|
toBool ( mixed $var ) : boolean |
Returns a bool value based on whatever value passed in.
These values are considered TRUE: '1', 'true', 'on', 'yes', 'y' |
|
toString ( mixed $var ) : string |
Returns a string based on given $var. |
|