![]() |
Maileon PHP client
1.5.5
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
toArray () | |
fromArray ($object_vars) | |
__toString () | |
isEmpty () | |
Abstract base class for all JSON serializable elements.
All classes derived from this must initialize their member classes in the constructor.
Definition at line 10 of file AbstractJSONWrapper.php.
com_maileon_api_json_AbstractJSONWrapper::toArray | ( | ) |
Used to serialize this object to a JSON string. Override this to modify JSON parameters.
Definition at line 18 of file AbstractJSONWrapper.php.
com_maileon_api_json_AbstractJSONWrapper::fromArray | ( | $object_vars | ) |
Used to initialize this object from JSON. Override this to modify JSON parameters.
array | $object_vars | The array from json_decode |
Definition at line 54 of file AbstractJSONWrapper.php.
com_maileon_api_json_AbstractJSONWrapper::__toString | ( | ) |
Creates a string representation from this object in the following format: ObjectName [ property1=value1, property2=value2, ... , propertyN=valueN ]
Definition at line 72 of file AbstractJSONWrapper.php.
com_maileon_api_json_AbstractJSONWrapper::isEmpty | ( | ) |
Can be overridden in derived classes to signal that this object is empty
Definition at line 89 of file AbstractJSONWrapper.php.