Lines Matching defs:item
24 * The currently selected item, associative array with id and type.
519 public function makeTreeItem($item)
523 if (!empty($item['label'])) {
524 $base = $item['label'];
526 $base = ':' . $item['id'];
531 if (($item['type'] == $this->current_item['type'] && $item['id'] == $this->current_item['id'])) {
538 if ($item['type'] == 'd') {
539 if ($item['open']) {
548 wl('', $this->getLinkOptions(['ns' => $item['id'], 'sectok' => getSecurityToken()])) .
554 wl('', $this->getLinkOptions(['id' => $item['id'], 'ns' => '', 'sectok' => getSecurityToken()])) .
556 $ret .= noNS($item['id']);
565 * @param array $item
568 public function makeListItem($item)
570 return '<li class="level' . $item['level'] . ' ' .
571 ($item['open'] ? 'open' : 'closed') . '">';