NextDom\Model\Entity\DataStore
Datastore
Synopsis
class DataStore
extends BaseEntity
{
- // constants
- const TABLE_NAME = NextDomObj::DATASTORE;
- // Inherited constants from BaseEntity
- const TABLE_NAME = '';
- // Inherited constants from BaseModel
- const TABLE_NAME = '';
- // Inherited members from BaseEntity
- protected $id;
- // Inherited members from BaseModel
- protected bool $_changed;
- // methods
- public bool preSave()
- public string getKey()
- public $this setKey()
- public void postSave()
- public array|null getLinkData()
- public array getUsedBy()
- public bool|mixed|null|string getValue()
- public $this setValue()
- // Inherited methods from BaseModel
- public bool getChanged()
- public $this setChanged()
- public void updateChangeState()
- public string getTableName()
- public void save()
- public void remove()
- // Inherited methods from LinkIdEntity
- public abstract void updateChangeState()
- public int getLink_id()
- public $this setLink_id()
- public bool getLinkObject()
- // Inherited methods from TypeEntity
- public abstract void updateChangeState()
- public string getType()
- public $this setType()
- public void isType()
Hierarchy
Extends
Uses
Constants
Name | Value |
---|---|
TABLE_NAME | NextDomObj::DATASTORE |
TABLE_NAME | '' |
TABLE_NAME | '' |
Members
protected
- $_changed — NextDom\Model\Entity\Parents\bool
- $id — integer
- $key — string
- $link_id — integer
- $type — string
- $value — string
Methods
public
Inherited from NextDom\Model\Entity\Parents\BaseEntity
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