An abstract class for any EI entity object.
Methods
Returns true if the object is null, otherwise returns false.
is_null() : bool
Returns a serialized JSON representation of the object.
json_encode(bool $pretty) : string
Parameters
$pretty
bool
True if output with indentation is desired.
Returns
string
Used by json_encode to properly escape the JSON string.
json_escape($string) : string
Parameters
$string
Returns
string
Used by json_encode($pretty = TRUE) to properly indent the JSON output.
json_indent($cols) : string
Returns a serialized JSON representation of the object.
Parameters
$cols
Returns
string