NextDom\Model\Entity\Message
Message
Synopsis
class Message
extends BaseEntity
{
- // constants
- const CLASS_NAME = Message::class;
- const DB_CLASS_NAME = '`message`';
- const TABLE_NAME = NextDomObj::MESSAGE;
- // 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|Message|null save()
- public string getMessage()
- public $this setMessage()
- public string getPlugin()
- public $this setPlugin()
- public void remove()
- public DateTime getDate()
- public $this setDate()
- public string getAction()
- public $this setAction()
- // 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 LogicalIdEntity
- public abstract void updateChangeState()
- public string getLogicalId()
- public $this setLogicalId()
Hierarchy
Constants
Name | Value |
---|---|
CLASS_NAME | Message::class |
DB_CLASS_NAME | '`message`' |
TABLE_NAME | NextDomObj::MESSAGE |
TABLE_NAME | '' |
TABLE_NAME | '' |
Members
protected
- $_changed — NextDom\Model\Entity\Parents\bool
- $action — string
- $date — \DateTime
- $id — integer
- $logicalId — string
- $message — string
- $plugin — string
Methods
public
- getAction()
- getDate()
- getMessage()
- getPlugin()
- remove()
- save()
- setAction()
- setDate()
- setMessage()
- setPlugin()
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