NextDom\Model\Entity\Widget
Widget
Synopsis
class Widget
extends BaseEntity
{
- // constants
- const TABLE_NAME = NextDomObj::WIDGET;
- // 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 string getTemplate()
- public $this setTemplate()
- public string getReplace()
- public $this setReplace()
- public string getTest()
- public $this setTest()
- public void preInsert()
- public void preSave()
- public void preUpdate()
- public array|bool|mixed|null|string getFiltres()
- public $this setFiltres()
- public bool save()
- public void postSave()
- public void preRemove()
- public void remove()
- public array getUsedBy()
- public void postRemove()
- public void emptyTest()
- public string getLinkToConfiguration()
- public array|null getLinkData()
- public string getHumanName()
- // 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 NameEntity
- public abstract void updateChangeState()
- public string getName()
- public $this setName()
- // Inherited methods from TypeEntity
- public abstract void updateChangeState()
- public string getType()
- public $this setType()
- public void isType()
- // Inherited methods from SubTypeEntity
- public abstract void updateChangeState()
- public string getSubtype()
- public $this setSubtype()
- public bool isSubType()
- // Inherited methods from DisplayEntity
- public abstract void updateChangeState()
- public mixed getDisplay()
- public $this setDisplay()
Hierarchy
Extends
Uses
Constants
Name | Value |
---|---|
TABLE_NAME | NextDomObj::WIDGET |
TABLE_NAME | '' |
TABLE_NAME | '' |
Members
protected
- $_changed — NextDom\Model\Entity\Parents\bool
- $display — string
- $id — integer
- $name — string
- $replace — string
- $subtype — string
- $template — string
- $test — string
- $type — string
Methods
public
- emptyTest()
- getFiltres()
- getHumanName()
- getLinkData()
- getLinkToConfiguration()
- getReplace()
- getTemplate()
- getTest()
- getUsedBy()
- postRemove()
- postSave()
- preInsert()
- preRemove()
- preSave()
- preUpdate()
- remove()
- save()
- setFiltres()
- setReplace()
- setTemplate()
- setTest()
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
Inherited from NextDom\Model\Entity\Parents\NameEntity
public
Inherited from NextDom\Model\Entity\Parents\TypeEntity
public
Inherited from NextDom\Model\Entity\Parents\SubTypeEntity
public
- getSubtype()
- isSubType() — Test sub type of the command
- setSubtype()
- updateChangeState()
Inherited from NextDom\Model\Entity\Parents\DisplayEntity
public
- getDisplay() — Get display information by key
- setDisplay() — Set display information by key
- updateChangeState()