public function getTreeNodeJSON() { $obj = parent::getTreeNodeJSON(); if (is_object($obj)) { $obj->iconClass = 'fa fa-comment-o'; return $obj; } }
public function getTreeNodeJSON() { $obj = parent::getTreeNodeJSON(); if (is_object($obj)) { $obj->isFolder = true; return $obj; } }
public function getTreeNodeJSON() { $obj = parent::getTreeNodeJSON(); if (is_object($obj)) { $p = new \Permissions($this); $obj->canAddTopicTreeNode = $p->canAddTopicTreeNode(); return $obj; } }
public function getTreeNodeJSON() { $obj = parent::getTreeNodeJSON(); if (is_object($obj)) { $obj->gID = $this->gID; $obj->iconClass = 'fa fa-users'; return $obj; } }
public function getTreeNodeJSON() { $node = parent::getTreeNodeJSON(); if ($node) { $node->isFolder = true; $node->resultsThumbnailImg = $this->getListFormatter()->getIconElement(); } return $node; }
public function getTreeNodeJSON() { $obj = parent::getTreeNodeJSON(); if (is_object($obj)) { $obj->gID = $this->gID; $obj->iconClass = 'fa fa-users'; if (isset($this->gID)) { $obj->title = $this->getTreeNodeDisplayName('text'); } return $obj; } }
public function getTreeNodeJSON() { $obj = parent::getTreeNodeJSON(); if (is_object($obj)) { $file = $this->getTreeNodeFileObject(); if (is_object($file)) { $json = $file->getJSONObject(); foreach ($json as $key => $value) { $obj->{$key} = $value; } } return $obj; } }
public function getTreeNodeJSON() { $obj = parent::getTreeNodeJSON(); if (is_object($obj)) { $obj->folder = true; $p = new \Permissions($this); $data = $this->getTreeObject()->getRequestData(); if (is_array($data) && $data['allowFolderSelection']) { $obj->hideCheckbox = false; } else { $obj->hideCheckbox = true; } $obj->icon = 'fa fa-folder'; $obj->canAddTopicTreeNode = $p->canAddTopicTreeNode(); $obj->canAddCategoryTreeNode = $p->canAddCategoryTreeNode(); return $obj; } }