Lines Matching refs:displayType
70 $data = array('displayType' => CATLIST_DISPLAY_LIST, 'nsInBold' => true, 'expand' => 6,
99 $this->_checkOption($match, "displayList", $data['displayType'], CATLIST_DISPLAY_LIST);
100 $this->_checkOption($match, "displayLine", $data['displayType'], CATLIST_DISPLAY_LINE);
505 if ($data['displayType'] == CATLIST_DISPLAY_LIST) $renderer->doc .= '<ul '.$global_ul_attr.'>';
510 $this->_displayAddPageButton($renderer, $ns_button, $data['displayType']);
511 if ($data['displayType'] == CATLIST_DISPLAY_LIST)
564 $this->_displayNSEnd($renderer, $data['displayType'], $item['buttonid']);
573 $this->_displayPage($renderer, $item, $data['displayType'], ($data['show_perms'] ? $perms : NULL), $displayLink);
579 if ($data['displayType'] == CATLIST_DISPLAY_LIST) {
588 else if ($data['displayType'] == CATLIST_DISPLAY_LINE) {
597 function _displayNSEnd (&$renderer, $displayType, $nsAddButton) {
598 if (!is_null($nsAddButton)) $this->_displayAddPageButton($renderer, $nsAddButton, $displayType);
599 if ($displayType == CATLIST_DISPLAY_LIST) $renderer->doc .= '</ul></li>';
600 else if ($displayType == CATLIST_DISPLAY_LINE) $renderer->doc .= '] ';
603 function _displayPage (&$renderer, $item, $displayType, $perms, $displayLink) {
604 if ($displayType == CATLIST_DISPLAY_LIST) {
610 } else if ($displayType == CATLIST_DISPLAY_LINE) {
616 function _displayAddPageButton (&$renderer, $ns, $displayType) {
617 $html = ($displayType == CATLIST_DISPLAY_LIST) ? 'li' : 'span';