The EIEntity object encapsulates an Eagle-I entity (EIEntity) object.
Methods
__construct()
__construct($json_data)
Sets the URI to null.
clear_uri()
Gets the label (title) for this EIEntity.
getLabel() : string | null
Returns the EIURI object for this EIEntity.
getURI() : \EIURI
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
Sets the label (title) for this EIEntity.
setLabel($label)
Sets the EIURI object for the EIEntity.
setURI(\EIURI $uri)
Used by json_encode to properly escape the JSON string.
json_escape($string) : string
Inherited
access |
protected |
inherited_from |
\EIContainer::json_escape() |
Parameters
$string
Returns
string
Used by json_encode($pretty = TRUE) to properly indent the JSON output.
json_indent($cols) : string
Inherited
Returns a serialized JSON representation of the object.
access |
protected |
inherited_from |
\EIContainer::json_indent() |
Parameters
$cols
Returns
string
Properties