An abstract class for any EI entity object.

 Methods

Returns true if the object is null, otherwise returns false.

is_null() : bool
abstract

Returns

bool

Returns a serialized JSON representation of the object.

json_encode(bool $pretty) : string
abstract

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
access protected

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.

access protected

Parameters

$cols

Returns

string