NextDom\Model\Entity\JeeObject
Object for eqLogic group
Synopsis
class JeeObject
extends BaseEntity
{
- // constants
- const CLASS_NAME = JeeObject::class;
- const DB_CLASS_NAME = '`object`';
- const TABLE_NAME = NextDomObj::OBJECT;
- const IMG_DIR_NAME = NextDomObj::OBJECT;
- // Inherited constants from BaseEntity
- const TABLE_NAME = '';
- // Inherited constants from BaseModel
- const TABLE_NAME = '';
- // members
- protected $father_id = NULL;
- protected array $_child = ;
- // Inherited members from BaseEntity
- protected $id;
- // Inherited members from BaseModel
- protected bool $_changed;
- // methods
- public int|null getIsVisible()
- public int|null getPosition()
- public array getChilds()
- public array getChild()
- public void preSave()
- public int|null getFather_id()
- public $this setFather_id()
- public void checkTreeConsistency()
- public JeeObject getFather()
- public int parentNumber()
- public void preRemove()
- public bool remove()
- public $this setName()
- public array getEqLogicBySummary()
- public string getHtmlSummary()
- public mixed getCache()
- public mixed getSummary()
- public void setCache()
- public array getLinkData()
- public string getHumanName()
- public array getUse()
- public array getEqLogic()
- public array getScenario()
- public bool save()
- public void cleanSummary()
- // 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 ConfigurationEntity
- public abstract void updateChangeState()
- public array|bool|mixed|null|string getConfiguration()
- public $this setConfiguration()
- // Inherited methods from DisplayEntity
- public abstract void updateChangeState()
- public mixed getDisplay()
- public $this setDisplay()
- // Inherited methods from NameEntity
- public abstract void updateChangeState()
- public string getName()
- public $this setName()
- // Inherited methods from ImageEntity
- public abstract void updateChangeState()
- public array|bool|mixed|null|string getImage()
- public $this setImage()
- public array toArray()
- public string getImgLink()
- public string displayImage()
- // Inherited methods from IsVisibleEntity
- public abstract void updateChangeState()
- public mixed getIsVisible()
- public void isVisible()
- public $this setIsVisible()
- // Inherited methods from PositionEntity
- public abstract void updateChangeState()
- public int getPosition()
- public $this setPosition()
Hierarchy
Extends
Uses
Constants
Name | Value |
---|---|
CLASS_NAME | JeeObject::class |
DB_CLASS_NAME | '`object`' |
TABLE_NAME | NextDomObj::OBJECT |
IMG_DIR_NAME | NextDomObj::OBJECT |
TABLE_NAME | '' |
TABLE_NAME | '' |
Members
protected
- $_changed — NextDom\Model\Entity\Parents\bool
- $_child
- $configuration — string
- $display — string
- $father_id — int
- $id — integer
- $image — string
- $isVisible — boolean
- $name — string
- $position — integer
Methods
public
- checkTreeConsistency() — Check that the object tree does not have a loop.
- cleanSummary()
- getCache() — Get cache information of this object
- getChild() — Get direct children
- getChilds() — Get tree under this object
- getEqLogic() — Get eqLogics attached to the object
- getEqLogicBySummary() — Get eqLogic used in the summary
- getFather() — Get father
- getFather_id() — Get father object id
- getHtmlSummary() — Get summary in HTML format
- getHumanName() — Get object human name
- getIsVisible() — Get visibility value
- getLinkData() — Get graph data
- getPosition() — Get object position
- getScenario() — Get scenario linked to the object
- getSummary() — Get summary of the object
- getUse() — Get object usage in string
- parentNumber() — Get number of parents
- preRemove() — Method called before remove
- preSave() — Method called before save. Check error and set default values
- remove() — Remove object from the database
- save() — Save object in database
- setCache() — Store information of this object in cache
- setFather_id() — Set father object id
- setName() — Set object name
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\ConfigurationEntity
public
Inherited from NextDom\Model\Entity\Parents\DisplayEntity
public
- getDisplay() — Get display information by key
- setDisplay() — Set display information by key
- updateChangeState()
Inherited from NextDom\Model\Entity\Parents\NameEntity
public
Inherited from NextDom\Model\Entity\Parents\ImageEntity
public
- displayImage()
- getImage()
- getImgLink()
- setImage()
- toArray() — Get data of the object in plain text array
- updateChangeState()