NextDom\Model\Entity\Parents\BaseEntity
Synopsis
class BaseEntity
extends BaseModel
{
- // constants
- const TABLE_NAME = '';
- // Inherited constants from BaseModel
- const TABLE_NAME = '';
- // members
- protected $id;
- // Inherited members from BaseModel
- protected bool $_changed;
- // Inherited methods from BaseModel
- public bool getChanged()
- public $this setChanged()
- public void updateChangeState()
- public string getTableName()
- public void save()
- public void remove()
Hierarchy
Constants
Name | Value |
---|---|
TABLE_NAME | '' |
TABLE_NAME | '' |
Members
protected
- $_changed — NextDom\Model\Entity\Parents\bool
- $id — integer
Methods
public
Inherited from NextDom\Model\Entity\Parents\BaseModel
public
- getChanged() — Get changed state
- getTableName()
- remove() — Remove the entity from the database
- save() — Save the entity in the database
- setChanged() — Set changed state
- updateChangeState() — Update change state if values are different