Lines Matching refs:this

33 		$this->Lexer->addSpecialPattern('<catlist[^>]*>', $aMode, 'plugin_catlist');
73 'createPageButtonNs' => true, 'createPageButtonSubs' => false, 'pagename_sanitize' => (boolean)$this->getConf('pagename_sanitize'),
74 'head' => (boolean)$this->getConf('showhead'),
76 'useheading' => (boolean)$this->getConf('useheading'),
79 'sort_order' => $_default_sort_map[$this->getConf('default_sort')],
80 'sort_by_title' => false, 'sort_by_type' => false, 'sort_by_date' => false, 'sort_collator' => $this->getConf('sort_collator_locale'),
81 'hide_index' => (boolean)$this->getConf('hide_index'),
83 'nocache' => (boolean)$this->getConf('nocache'),
84 'hide_nsnotr' => (boolean)$this->getConf('hide_acl_nsnotr'), 'show_pgnoread' => false, 'show_perms' => (boolean)$this->getConf('show_acl'),
85 'show_leading_ns' => (boolean)$this->getConf('show_leading_ns'),
88 $index_priority = explode(',', $this->getConf('index_priority'));
99 $this->_checkOption($match, "displayList", $data['displayType'], CATLIST_DISPLAY_LIST);
100 $this->_checkOption($match, "displayLine", $data['displayType'], CATLIST_DISPLAY_LINE);
101 $this->_checkOption($match, "noNSInBold", $data['nsInBold'], false);
106 $this->_checkOption($match, "noHeadTitle", $data['useheading'], false);
107 $this->_checkOption($match, "forceHeadTitle", $data['useheading'], true);
109 $this->_checkOption($match, "noNSHeadTitle", $data['nsuseheading'], false);
110 $this->_checkOption($match, "hideNotFoundMsg", $data['show_notfound_error'], false);
113 $this->_checkOption($match, "forceLinks", $data['nsLinks'], CATLIST_NSLINK_FORCE); // /!\ Deprecated
114 $this->_checkOptionParam($match, "nsLinks", $data['nsLinks'], array( "none" => CATLIST_NSLINK_NONE,
134 $this->_checkOption($match, "excludeOnID", $data['exclutype'], 'id');
135 $this->_checkOption($match, "excludeOnName", $data['exclutype'], 'name');
136 $this->_checkOption($match, "excludeOnTitle", $data['exclutype'], 'title');
158 $this->_checkOption($match, "noHead", $data['head'], false);
159 $this->_checkOption($match, "showHead", $data['head'], true);
160 $this->_checkOption($match, "smallHead", $data['smallHead'], true);
161 $this->_checkOption($match, "noLinkStartHead", $data['linkStartHead'], false);
172 $this->_checkOption($match, "noAddPageButton", $data['createPageButtonNs'], false);
173 $this->_checkOption($match, "addPageButtonEach", $data['createPageButtonSubs'], true);
176 $this->_checkOption($match, "sortAscending", $data['sort_order'], CATLIST_SORT_ASCENDING);
177 $this->_checkOption($match, "sortDescending", $data['sort_order'], CATLIST_SORT_DESCENDING);
178 $this->_checkOption($match, "sortByTitle", $data['sort_by_title'], true);
179 $this->_checkOption($match, "sortByType", $data['sort_by_type'], true);
180 $this->_checkOption($match, "sortByCreationDate", $data['sort_by_date'], 'created');
181 $this->_checkOption($match, "sortByModifDate", $data['sort_by_date'], 'modified');
184 $this->_checkOption($match, "ACLshowPage", $data['show_pgnoread'], true);
185 $this->_checkOption($match, "ACLhideNs", $data['hide_nsnotr'], true);
189 msg(sprintf($this->getLang('unknownoption'), htmlspecialchars($found[1])), -1);
195 if ((boolean)$this->getConf('nswildcards')) {
217 msg($this->getLang('outofpages'), -1);
299 msg(sprintf($this->getLang('dontexist'), $ns), -1);
343 $this->_walk_recurse($data, $path, $ns, "", false, false, 1/*root depth is 1*/, $data['tree']/*root*/);
355 * where found children are added. Optionally sorts this list of children.
379 list($index_exists, $index_id, $index_filepath) = $this->_getStartPage($data['index_priority'], $ns, $path, $name, ($data['nsLinks']==CATLIST_NSLINK_FORCE));
384 if ($this->_isExcluded($item, $data['exclutype'], $data['excluns'])) continue;
387 $item['metadata'] = $this->_getMetadata($index_id, $index_filepath);
400 $exclude_content = $this->_isExcluded($item, $data['exclutype'], $data['exclunsall'])
403 $exclunspages = $this->_isExcluded($item, $data['exclutype'], $data['exclunspages']);
404 $exclunsns = $this->_isExcluded($item, $data['exclutype'], $data['exclunsns']);
405 $this->_walk_recurse($data, $path.'/'.$file, $id, $rel_id, $exclunspages, $exclunsns, $depth+1, $item['_']);
415 $item['metadata'] = $this->_getMetadata($id, $file);
422 if ($this->_isExcluded($item, $data['exclutype'], $data['exclupage'])) continue;
474 $r = $this->_walk($data);
506 $this->_recurse($renderer, $data, $data['tree']);
507 $perm_create = $this->_cached_quickaclcheck($ns.':*') >= AUTH_CREATE;
510 $this->_displayAddPageButton($renderer, $ns_button, $data['displayType']);
525 /* Walk the tree to see if any page/namespace below this has read access access, for show_leading_ns option */
529 $perms = $this->_cached_quickaclcheck($item['id'].':*');
530 if ($perms >= AUTH_READ || $this->_any_child_perms($data, $item['_']))
533 $perms = $this->_cached_quickaclcheck($item['id']);
545 $perms = $this->_cached_quickaclcheck($item['id'].':*');
549 // If show_leading_ns activated, walk the tree below this, see if any page/namespace below this has access
550 if ($data['show_leading_ns'] && $this->_any_child_perms($data, $item['_'])) {
561 $this->_displayNSBegin($renderer, $data, $item['title'], $linkdisp, $item['linkid'], ($data['show_perms'] ? $perms : NULL));
563 $this->_recurse($renderer, $data, $item['_']);
564 $this->_displayNSEnd($renderer, $data['displayType'], $item['buttonid']);
567 $perms = $this->_cached_quickaclcheck($item['id']);
573 $this->_displayPage($renderer, $item, $data['displayType'], ($data['show_perms'] ? $perms : NULL), $displayLink);
598 if (!is_null($nsAddButton)) $this->_displayAddPageButton($renderer, $nsAddButton, $displayType);
618 $renderer->doc .= '<'.$html.' class="catlist_addpage"><button class="button" onclick="catlist_button_add_page(this,\''.$ns.'\')">'.$this->getLang('addpage').'</button></'.$html.'>';