EntityInterface
extends
JsonSerializable
in
Entity interface.
Tags
Table of Contents
Methods
- delete() : bool
- Removes a entity on server, if possible.
- isNew() : bool
- Returns true if is a new object.
- save() : bool
- Save a entity on server, if possible.
- toArray() : array<string|int, mixed>
- Returns a array representation of entity.
Methods
delete()
Removes a entity on server, if possible.
public
delete() : bool
Return values
bool —True if operation was successful, false otherwise.
isNew()
Returns true if is a new object.
public
isNew() : bool
Return values
boolsave()
Save a entity on server, if possible.
public
save() : bool
Return values
bool —True if operation was successful, false otherwise.
toArray()
Returns a array representation of entity.
public
toArray() : array<string|int, mixed>