img-logo
0

Đăng nhập

  • (function(){if("undefined"===typeof kintInitialized){kintInitialized=1;var e=[],f=-1,g=function(a){var b=window.getSelection(),c=document.createRange();c.selectNodeContents(a);b.removeAllRanges();b.addRange(c)},h=function(a){Array.prototype.slice.call(document.querySelectorAll(".kint nav, .kint-tabs>li:not(.kint-active-tab)"),0).forEach(a)},k=function(a,b){if(!a.classList)return!1;"undefined"===typeof b&&(b="kint-show");return a.classList.contains(b)},l=function(a,b){"undefined"===typeof b&&(b="kint-show");a.classList.add(b)}, m=function(a,b){"undefined"===typeof b&&(b="kint-show");a.classList.remove(b)},n=function(a){do a=a.nextElementSibling;while("dd"!==a.nodeName.toLowerCase());return a},q=function(a,b){var c=n(a);"undefined"===typeof b&&(b=k(a));b?m(a):l(a);1===c.childNodes.length&&(c=c.childNodes[0].childNodes[0])&&k(c,"kint-parent")&&q(c,b)},r=function(a,b){var c=n(a).getElementsByClassName("kint-parent"),d=c.length;for("undefined"===typeof b&&(b=k(a));d--;)q(c[d],b);q(a,b)},t=function(a){var b=a,c=0;a.parentNode.getElementsByClassName("kint-active-tab")[0].className= "";for(a.className="kint-active-tab";b=b.previousSibling;)1===b.nodeType&&c++;a=a.parentNode.nextSibling.childNodes;for(var d=0;dKint ("+(new Date).toISOString()+')'+document.getElementsByClassName("-kint-js")[0].outerHTML+document.getElementsByClassName("-kint-css")[0].outerHTML+'
    '+a.parentNode.outerHTML+"
    "),b.document.close()},x=function(a,b){function c(a){var c=1===b?a.replace(/^#/,""):a;if(isNaN(c))return a.trim().toLocaleLowerCase();c=parseFloat(c);return isNaN(c)? a.trim():c}var d=a.tBodies[0];[].slice.call(a.tBodies[0].rows).sort(function(a,d){a=c(a.cells[b].textContent);d=c(d.cells[b].textContent);return ad?1:0}).forEach(function(a){d.appendChild(a)})},y=function(a){var b=document.querySelector(".kint-focused");b&&m(b,"kint-focused");if(-1!==a){b=e[a];l(b,"kint-focused");var c=function(a){return a.offsetTop+(a.offsetParent?c(a.offsetParent):0)};window.scrollTo(0,c(b)-window.innerHeight/2)}f=a},z=function(a,b){a?0>--b&&(b=e.length-1):++b>=e.length&& (b=0);y(b);return!1};window.addEventListener("click",function(a){var b=a.target,c=b.nodeName.toLowerCase();if(u(b)){if("dfn"===c)g(b),b=b.parentNode;else if("var"===c)b=b.parentNode,c=b.nodeName.toLowerCase();else if("th"===c)return a.ctrlKey||x(b.parentNode.parentNode.parentNode,b.cellIndex),!1;if("li"===c&&"kint-tabs"===b.parentNode.className)return"kint-active-tab"!==b.className&&(t(b),-1!==f&&v()),!1;if("nav"===c)return"footer"===b.parentNode.nodeName.toLowerCase()?(b=b.parentNode,k(b)?m(b):l(b)): setTimeout(function(){0a&&(d=a);p
    →
    $this->_entity VSMenuEntity(10)
    • contents
    • Static class properties (1)
    • Available methods (44)
    • protected _object -> NULL
      private __level -> integer0
      protected _id -> NULL
      private __moduleName -> string(4) "Menu"
      protected _parentIds -> array(0)
      protected _parents -> array(0)
      private __vars -> array(0)
      private __fieldPrefix -> string(5) "menus"
      →
      private __columns -> array(11)
      'menus_id' => string(2) "Id"
      'menus_parent_id' => string(8) "ParentId"
      'menus_left' => string(4) "Left"
      'menus_right' => string(5) "Right"
      'menus_key' => string(3) "Key"
      'menus_title' => string(5) "Title"
      'menus_object_type' => string(10) "ObjectType"
      'menus_item_id' => string(6) "ItemId"
      'menus_target' => string(6) "Target"
      'menus_created_at' => string(9) "CreatedAt"
      'menus_updated_at' => string(9) "UpdatedAt"
      →
      private __properties -> array(11)
      'Id' => string(6) "number"
      'ParentId' => string(6) "number"
      'Left' => string(6) "number"
      'Right' => string(6) "number"
      'Key' => string(6) "string"
      'Title' => string(6) "string"
      'ObjectType' => string(6) "string"
      'ItemId' => string(6) "number"
      'Target' => string(6) "string"
      'CreatedAt' => string(6) "string"
      'UpdatedAt' => string(6) "string"
    • private $__instance :: NULL
    • →
      public static getEntityPath($className = "") -> string - Path to entity include file name.
      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
      →
      public static getInstance() -> $__instance
      GetInstance
      @return $__instance
      
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:22
      →
      public static parse($className = "") -> string - Name of entity.
      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
      →
      public __call($method, $args) -> mixed
      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
      →
      public __construct()
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:31
      →
      public addParent(VSEntity $parent)
      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
      →
      public addParentIds($ids = array())
      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
      →
      public addParents($parents = array())
      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
      →
      public bindXML(SimpleXMLElement $xml)
      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
      →
      public childOf($id = 0) -> boolean
      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
      →
      public firstParent() -> VSEntity
      Get first parent.
      @return VSEntity
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:150
      →
      public firstParentId() -> integer - Id of first parent.
      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
      →
      public getEntityName($entityPath = "") -> string - name of entity.
      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
      →
      public getId() -> integer
      Get id of this entity.
      @return integer
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:309
      →
      public getItemSlug($returnModuleSlug = true)
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:37
      →
      public getLevel($shiftLevel = 0)
      Inherited from VSBinaryTreeEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:41
      →
      public getMappingData() -> array of data match with fields in table data that this entity mapped.
      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
      →
      public getMenuTitle($shiftLevel = 0, $levelShiftChar = --)
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:84
      →
      public getModuleName() -> string - Name of module.
      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
      →
      public getModuleSlug()
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:98
      →
      public getObject() -> instance of VSEntity - object linked by menu.
      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
      →
      public getPath()
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:70
      →
      public getRealPath() -> string
      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
      →
      public hasChildren()
      Inherited from VSBinaryTreeEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:37
      →
      public hasField($fieldName = "") -> boolean
      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
      →
      public hasParents() -> boolean
      Check if entity has parents.
      @return boolean
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:94
      →
      public init($data = array(), $fieldPrefix = "") -> VSEntity or inherited class.
      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
      →
      public isLeaf()
      Inherited from VSBinaryTreeEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:60
      →
      public isRoot()
      Inherited from VSBinaryTreeEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:51
      →
      public isSuperRoot()
      Inherited from VSBinaryTreeEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:65
      →
      public lastParent() -> VSEntity
      Get last parent.
      @return VSEntity
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:159
      →
      public lastParentId() -> integer - Id of last parent.
      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
      →
      public load($object) -> object - entity object.
      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
      →
      public parentIds() -> array
      Get list of parent id.
      @return array
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:103
      →
      public parents() -> array
      Retrieve all parents of entity.
      @return array
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:112
      →
      public setId($value = 0)
      Set this entity id.
      @param  integer $value
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:318
      →
      public setLevel($level = 0)
      Inherited from VSBinaryTreeEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:47
      →
      public setModuleName($name = "")
      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
      →
      public size()
      Inherited from VSBinaryTreeEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/BinaryTree/VSBinaryTreeEntity.php:33
      →
      private __processCall($method, $args)
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:334
      →
      private __setColumns($columns = array())
      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
      →
      private __setFieldPrefix($fieldPrefix = "")
      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
      →
      private __setModuleName($moduleName = "")
      Set the module name.
      @param  string $moduleName
      
      Inherited from VSEntity
      Defined in <ROOT>vendor/lptech-asia/lptech-libraries/src/Entity/VSEntity.php:273
      →
      private __setProperties($properties = array())
      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
    →
    Called from <ROOT>modules/cores/Menu/VSMenuPublicModel.php:35 [VSMenuPublicModel->__construct()]
    1. <ROOT>vendor/lptech-asia/lptech-libraries/src/Load/VSLoad.php:143 [VSMenuPublicModel->__construct()]
    2. <ROOT>vendor/lptech-asia/lptech-libraries/src/Load/VSLoad.php:126 [VSLoad->__initInstance()]
    3. <ROOT>vendor/lptech-asia/lptech-libraries/src/Model/VSModel.php:902 [VSLoad->load()]
    4. <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:56 [VSModel->load()]
    5. <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenuEntity.php:73 [VSMenuEntity->getObject()]
    6. <ROOT>vendor/twig/twig/src/Template.php:700 [VSMenuEntity->getPath()]
    7. <ROOT>cache/themes/tiimtravel.vn/e7/e7b9637351bf218aaafb4210e955f09fb945d91232bf72bf25ff1bcd32949512.php:133 [Twig\Template->getAttribute()]
    8. <ROOT>vendor/twig/twig/src/Template.php:453 [__TwigTemplate_6db0f5d8863dfcdb2c0789720f997f63dcd51d592a8de33cf5d44564d422a48c->doDisplay()]
    9. <ROOT>vendor/twig/twig/src/Template.php:420 [Twig\Template->displayWithErrorHandling()]
    10. <ROOT>vendor/twig/twig/src/Template.php:432 [Twig\Template->display()]
    11. <ROOT>vendor/lptech-asia/lptech-libraries/src/View/VSView.php:181 [Twig\Template->render()]
    12. <ROOT>vendor/lptech-asia/lptech-libraries/src/Menu/VSMenu.php:146 [VSView->renderFile()]
    13. <ROOT>vendor/twig/twig/src/Template.php:702 [VSMenu->render()]
    14. <ROOT>cache/themes/tiimtravel.vn/b5/b5353f763c1520adfee33a6e351c5c55409b8df880a4196553b25ca87408f3b1.php:164 [Twig\Template->getAttribute()]
    15. <ROOT>vendor/twig/twig/src/Template.php:453 [__TwigTemplate_d9a76f1a45bc1a4a74cd11410aaeb45d4b20a996dabedb92bda784dd19a97a3a->doDisplay()]
    16. <ROOT>vendor/twig/twig/src/Template.php:420 [Twig\Template->displayWithErrorHandling()]
    17. <ROOT>cache/themes/tiimtravel.vn/a6/a683b15b0e77a390e2ac6989801b5896c6e6eb6ca7e9c18344feec2fc483e1f4.php:253 [Twig\Template->display()]
    18. <ROOT>vendor/twig/twig/src/Template.php:453 [__TwigTemplate_b54ddcded45c932bdafe58000945d283f3ab57db98de596223bca340033d0623->doDisplay()]
    19. <ROOT>vendor/twig/twig/src/Template.php:420 [Twig\Template->displayWithErrorHandling()]
    20. <ROOT>cache/themes/tiimtravel.vn/0b/0b1504f285214bb2bc9dbc223df50dcfdc9273aac288c03906cf9670f62b26c8.php:37 [Twig\Template->display()]
    21. <ROOT>vendor/twig/twig/src/Template.php:453 [__TwigTemplate_aa296b39fcfecc92cbdac33d8d543c64d09053164be67f3e92b74a1cb39e5b2f->doDisplay()]
    22. <ROOT>vendor/twig/twig/src/Template.php:420 [Twig\Template->displayWithErrorHandling()]
    23. <ROOT>vendor/twig/twig/src/Template.php:432 [Twig\Template->display()]
    24. <ROOT>vendor/lptech-asia/lptech-libraries/src/View/VSView.php:334 [Twig\Template->render()]
    25. <ROOT>vendor/lptech-asia/lptech-libraries/src/View/VSView.php:218 [VSView->__doOutput()]
    26. <ROOT>vendor/lptech-asia/lptech-libraries/src/View/VSView.php:249 [VSView->render()]
    27. <ROOT>modules/cores/Article/VSArticlePublicController.php:361 [VSView->renderWithFile()]
    28. <ROOT>vendor/lptech-asia/lptech-libraries/src/Controller/VSController.php:171 [VSArticlePublicController->detail()]
    29. <ROOT>vsindex.php:71 [VSController->load()]