Lines Matching +full:depth +(+path:plugin +path:siteexport) -(+path:plugin +path:siteexport +path:lang)
107 if ( empty($elem['depth']) ) {
108 $elem['depth'] = count(explode('/', $elem['url']));
184 private function __TOCItem($item, $depth, $selfClosed = true) argument
193 …return "\n" . str_repeat("\t", max($depth, 0)+1) . "<tocitem target=\"" . $targetID . "\"" . (intv…
199 private function __TOCItemClose($depth) argument
201 return "\n" . str_repeat("\t", max($depth, 0)+1) . "</tocitem>";
207 private function __writeTOCTree($CURRENTNODE, $CURRENTNODENAME = null, $DEPTH = 0) { argument
222 return $this->__TOCItem($CURRENTNODE, $DEPTH);
230 $XML .= $this->__TOCItem($CURRENTNODE[$conf['start']], $DEPTH, !$didOpenItem);
234 $XML .= $this->__TOCItem($CURRENTNODE['element'], $DEPTH, !$didOpenItem);
239 $XML .= $this->__TOCItem(array('name' => $CURRENTNODENAME), $DEPTH, !$didOpenItem);
242 $DEPTH--;
252 …$ELEM, count($ELEM) >= 1 ? ( !empty($ELEM['name']) ? $ELEM['name'] : $NODENAME ) : null, $DEPTH+1);
256 return $XML . ($didOpenItem ? $this->__TOCItemClose($DEPTH) : '');
331 $DEPTH = str_repeat("\t", $LEVEL);
334 …return $DEPTH . '<' . $ITEM . ' label="' . $this->functions->getSiteTitle($DATA) . '" ' . ($ITEM !…
345 $XML = "$DEPTH<$ITEM label=\"$indexTitle\" $indexFile>";
356 if (!$isEmptyNode && count($DATA) > 0) $XML .= "$DEPTH";