Đăng nhập
Get entity path. @param $className (string) - Name of class to identify its entity. @return string - Path to entity include file name. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:471
GetInstance @return $__instance Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:22
Parse a class name to entity name. @param $className (string) - a class name want to parse. @return string - Name of entity. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:455
Just php magic method. @param string $method - Name of called method. @param array $args - List of arguments. @return mixed Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:329
Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:31
Add an object as parent of this entity. @param VSEntity $parent - Object to add as parent. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:121
Add ids of parents. @param array $ids - List of parents' ids. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:186
Add multiple objects as this entity's parents. @param array $parents - List of VSEntity objects. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:135
Bind properties and their values to XML document. @param SimpleXMLElement $xml - XML node want to bind data. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:69
Check if entity is child of a parent. @param integer $id - Id of parent to check. @return boolean Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:81
Get first parent. @return VSEntity Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:150
Get id of first parent. @return integer - Id of first parent. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:168
Get entity name from entity path. @param $entityPath (string) - path to entity. @return string - name of entity. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:441
Get id of this entity. @return integer Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:309
Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:37
Inherited from VSBinaryTreeEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:41
Fill values from entity's properties to fields of database. Usually using for preparing data to insert, update to database. @return array of data match with fields in table data that this entity mapped. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:409
Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:84
Get name of module that this entity belong to. @return string - Name of module. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:204
Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:98
Getting object of menu, in somecase to access its data. @return instance of VSEntity - object linked by menu. Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:45
Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:70
Get public real path of entity, format of path is usually modulename/detail/id @return string Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:229
Inherited from VSBinaryTreeEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:37
Check if entity has a field @param $fieldName (string) - column name in database @return boolean Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:214
Check if entity has parents. @return boolean Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:94
Init entity with data (usually data pulled from database). @param $data (array) - Dataset with field => value. @return VSEntity or inherited class. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:391
Inherited from VSBinaryTreeEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:60
Inherited from VSBinaryTreeEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:51
Inherited from VSBinaryTreeEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:65
Get last parent. @return VSEntity Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:159
Get id of last parent. @return integer - Id of last parent. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:177
Loading entity. @param $object - Object inherit VSModel. @return object - entity object. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:502
Get list of parent id. @return array Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:103
Retrieve all parents of entity. @return array Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:112
Set this entity id. @param integer $value Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:318
Inherited from VSBinaryTreeEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:47
Set module name that this entity belong to. @param string $name - Module name. Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:195
Inherited from VSBinaryTreeEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:33
Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:334
Set columns of this entity. Just for data mapping. @param array $columns Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:300
Set field prefix of data schema. @param string $fieldPrefix Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:282
Set the module name. @param string $moduleName Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:273
Set properties of this entity. Using for calling magic method of this entity. @param array $properties Inherited from VSEntity Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:291