Lines Matching refs:this

72             $this->debug = true;
74 $this->start = $conf ["start"];
75 $this->dformat = $conf ["dformat"];
76 $this->style = $this->getConf("style");
649 $linkid = $fqid.$this->start;
655 if($this->ucnames) {
687 return $this->_addFoundPage($data, $ns, pathID($file), $type, $level);
695 $this->_addFoundPage($data, $ns, $id, $type, $level);
725 $this->_showDebugMsg("specified arguments=".$flags);
735 $this->_showDebugMsg("parseOptions A");
744 $this->_showDebugMsg("parseOptions B");
748 $this->_showDebugMsg("parseOptions C");
751 $this->_showDebugMsg("parseOptions D");
755 $this->_showDebugMsg("parseOptions E");
762 $this->_showDebugMsg("ERROR: Multiple questionmarks are not supported");
766 $this->_showDebugMsg("parseOptions E");
771 $this->_showDebugMsg("specified namespace=$ns");
772 $this->_showDebugMsg("specified flags=$flags");
774 $ns = $this->_parseNS($ns, true);
776 $path = $this->_ns2path($ns);
777 $this->_showDebugMsg("path=$path");
779 $this->_initOpts($flags);
780 $this->_parseColumnNames();
781 $this->_parseSortKeys();
782 $this->_parseTags();
787 $this->hdrs = $this->cols;
788 if(is_array($this->opts ["hdrs"])) {
789 foreach($this->opts ["hdrs"] as $index => $hdr) {
790 $this->hdrs [$index] = $hdr;
797 $this->opts ["skipfqid"] = Array();
798 $this->opts ["skipns"] = Array();
799 if(is_array($this->opts ["skip"])) {
800 foreach($this->opts ["skip"] as $skipitem) {
801 $item = $this->_parseNS($skipitem, false);
803 $this->opts ["skipns"] [] = $item;
805 $this->opts ["skipfqid"] [] = $item;
810 $this->_parseOptionsShow($data, $path, $ns);
816 $this->_showDebugMsg("Search directory $path");
817 $this->_showDebugMsg("for namespace $ns");
819 if(count($this->pages) == 0) {
821 $this->pages, // results
823 array($this, '_searchDir'), // handler
827 $count = count($this->pages);
829 $this->_showDebugMsg("Found ".$count." pages!");
832 $this->_put(DOKU_LF."\t<p>There are no documents to show.</p>".DOKU_LF);
836 $this->_sortResult();
837 if ( !empty($this->opts['maxrows']) && $this->opts['maxrows'] > 0 ) {
838 $this->pages = array_slice($this->pages, 0, $this->opts['maxrows']);
849 if($this->nbrOfSortKeys == 0)
852 usort($this->pages, array($this, "_sortPage"));
859 return $this->_sortPageByKey($a, $b, 0);
863 if($index >= $this->nbrOfSortKeys)
866 $keyType = $this->sortKeys [$index];
867 $sortKeyA = $this->_getSortKey($a, $keyType [0]);
868 $sortKeyB = $this->_getSortKey($b, $keyType [0]);
871 return $this->_sortPageByKey($a, $b, $index + 1);
891 return $this->_getMeta($page, "description", "abstract");
893 return $this->_getMeta($page, "date", "modified");
895 return $this->_getMeta($page, "date", "created");
897 $users = $this->_getMeta($page, "contributor");
908 $users = $this->_getMeta($page, "contributor");
919 return $this->_pluginCell("discussion", $page ["linkid"]);
921 return $this->_pluginCell("tag", $page ["linkid"]);
940 if($this->opts ["namespacename"]) {
944 $pageid .= ':'.$this->start;
947 if(!$this->useDefaultTitle) {
952 switch($this->rdrMode) {
954 $this->rdr->internallink($pageid, $name);
958 $this->_put('<div style="margin-left: '.$spacerWidth.'px;">');
961 if($page ["type"] == 'd' && $this->ucnames) {
964 $this->_put($dirlnk);
966 else $this->_put(html_wikilink($pageid, $name));
968 $this->_put('</div>');
1009 $this->_tableCellContentID($page);
1013 $this->_put($this->_getMeta($page, "description", "abstract"));
1016 $this->_putDate($this->_getMeta($page, "date", "modified"));
1019 $this->_putDate($this->_getMeta($page, "date", "created"));
1022 $users = $this->_getMeta($page, "contributor");
1028 $this->_putNewLine();
1030 $this->_put($user);
1036 $users = $this->_getMeta($page, "contributor");
1042 $this->_putNewLine();
1044 $this->_put($userid);
1050 if(!$this->modeIsLatex)
1051 $this->_put($this->_pluginCell("discussion", $page ["linkid"]));
1054 if(!$this->modeIsLatex)
1055 $this->_put($this->_pluginCell("tag", $page ["linkid"]));
1058 $this->_put($this->rowNumber);
1061 $this->_put($col);
1070 if($this->modeIsLatex) {
1071 $rdr = $this->rdr;
1075 $this->_putCmdNl("begin{figure}[h]");
1077 $this->_putCmdNl("vspace{0.8em}");
1081 foreach($this->hdrs as $index => $hdr) {
1083 if($index + 1 < sizeof($this->hdrs))
1090 switch($this->style) {
1100 $this->_showDebugMsg("Style=".$this->style." table class=$class");
1101 $this->rdr->table_open (null, null, null, $class) ;
1108 if($this->modeIsLatex) {
1109 $this->rdr->tabular_close();
1113 $this->rdr->table_close () ;
1120 if($this->modeIsLatex)
1123 $this->_put(DOKU_LF.DOKU_TAB.DOKU_TAB.'<th class="'.$class.'">');
1130 if($this->modeIsLatex) {
1131 if(($index + 1) == sizeof($this->hdrs)) {
1132 $this->rdr->putnl('\\\\');
1134 $this->rdr->put('&');
1138 return $this->rdr->tableheader_close();
1145 if($this->modeIsLatex) return;
1147 $this->_put(DOKU_LF.DOKU_TAB.DOKU_TAB.'<td class="'.$class.'"');
1150 $this->_put(' colspan="'.$colspan.'"');
1152 $this->_put(">");
1159 if($this->modeIsLatex) {
1160 if(($index + 1) == sizeof($this->hdrs)) {
1161 $this->rdr->putnl('\\\\');
1163 $this->rdr->put('&');
1168 return $this->rdr->tablecell_close();
1193 $this->_showDebugMsg("Unknown style class for col $col");
1198 if($this->modeIsLatex) {
1199 $this->_putCmdNl('hline');
1203 $this->rdr->tablerow_open();
1207 if($this->modeIsLatex) {
1208 $this->_putCmdNl('hline');
1212 $this->rdr->tablerow_close();
1216 if($this->modeIsLatex)
1219 $this->rdr->tablerow_open();
1223 if($this->modeIsLatex)
1226 $this->rdr->tablerow_close();
1235 if(!$this->hasTags) return true;
1237 $plug = $this->plugins ['tag'];
1241 $tmp = $this->_getMeta($page, "subject");
1256 if(count($this->excludeTags) > 0) {
1257 if(count(array_intersect($tags, $this->excludeTags)) > 0) {
1258 $this->_showDebugMsg('skip');
1265 if(count($this->includeTags) > 0) {
1266 $intersection = array_intersect($tags, $this->includeTags);
1267 if(count($intersection) != count($this->includeTags)) {
1279 $doWideDesc = $this->opts ["widedesc"];
1281 if(!$this->opts ["noheader"]) {
1282 $this->_tableHeaderRowOpen();
1283 foreach($this->hdrs as $index => $hdr) {
1284 $this->_tableHeaderCellOpen(
1285 $this->_getCellClassForCol($this->cols [$index])
1287 $this->_put($hdr);
1288 $this->_tableHeaderCellClose($index);
1290 $this->_tableHeaderRowClose();
1293 foreach($this->pages as $page) {
1295 if(!$this->_hasTag($page)) continue;
1297 $this->rowNumber += 1;
1299 $this->_tableRowOpen();
1300 foreach($this->cols as $index => $col) {
1301 $this->_tableCellOpen(1, $this->_getCellClassForCol($col));
1302 $this->_tableCellContent($page, $col);
1303 $this->_tableCellClose($index);
1305 $this->_tableRowClose();
1307 $this->_tableRowOpen();
1308 $this->_tableCellOpen(count($this->cols), "desc");
1309 $this->_tableCellContent($page, "widedesc");
1310 $this->_tableCellClose(0);
1311 $this->_tableRowClose();
1323 switch($this->rdrMode) {
1325 $this->rdr->doc .= $data;
1328 $this->rdr->put($data);
1337 $this->_put(strftime($this->dformat, $date));
1341 $this->rdr->putcmdnl($cmd);
1345 if($this->modeIsLatex) {
1346 $this->_putCmdNl('newline');
1348 $this->_put('<br />');
1356 if(!$this->_parseOptions($data))
1362 if($this->processedLatex && $this->rdrMode == 'xhtml') {
1369 $this->_tableOpen();
1370 $this->_tableContent();
1371 $this->_tableClose();