Exemplo n.º 1
0
 public function getPathNodeArray($includeRootNode = false, $loadReferencedRecords = false)
 {
     if (is_null($this->pathNodeArray)) {
         $this->pathNodeArray = parent::getPathNodeArray(true, $loadReferencedRecords);
     }
     $array = $this->pathNodeArray;
     if (!$includeRootNode) {
         array_shift($array);
     }
     return $array;
 }