Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 10 of 10) sorted by relevance

/dokuwiki/inc/Parsing/Handler/
H A DLists.php52 $depth = $this->interpretSyntax($call[1][0], $listType);
54 $this->initialDepth = $depth;
56 $this->listStack[] = [$listType, $depth, 1];
80 $depth = $this->interpretSyntax($call[1][0], $listType);
85 if ($depth < $this->initialDepth) {
86 $depth = $this->initialDepth;
89 if ($depth == $end[1]) {
94 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
106 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
110 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];
[all …]
/dokuwiki/inc/TreeBuilder/
H A DPageTreeBuilder.php98 * @param int $depth Current depth, recursion stops at 0
101 protected function createHierarchy(AbstractNode $parent, string $dir, int $depth) argument
105 $this->processNamespaces($parent, $dir, $depth);
119 * @param int $depth Current depth level
122 protected function processNamespaces(AbstractNode $parent, string $dir, int $depth) argument
135 if ($depth !== 0 && $this->applyRecursionDecision($node, $this->maxdepth - $depth)) {
136 $this->createHierarchy($node, $dir . '/' . $subdir, $depth - 1);
240 protected function applyRecursionDecision(AbstractNode $node, int $depth): bool argument
246 return parent::applyRecursionDecision($node, $depth);
H A DAbstractBuilder.php246 protected function applyRecursionDecision(AbstractNode $node, int $depth): bool argument
249 return (bool)call_user_func($this->recursionDecision, $node, $depth);
/dokuwiki/_test/tests/TreeBuilder/
H A DPageTreeBuilderTest.php150 …public function testPageTreeConfigurations(string $namespace, int $depth, int $flags, array $expec… argument
152 $tree = new PageTreeBuilder($namespace, $depth);
170 public function testTopLevelTree(string $namespace, int $depth, int $flags, array $expected) argument
180 $this->testPageTreeConfigurations($namespace, $depth, $flags, $expected);
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php760 $depth = 0;
768 $depth++;
769 while ($depth && $position < $length) {
777 $depth++;
781 $depth--;
/dokuwiki/vendor/splitbrain/php-jsstrip/src/
H A DJSStrip.php79 $depth = 0;
87 $depth++;
90 $depth--;
93 } while ($depth >= 0);
/dokuwiki/inc/
H A Dsearch.php199 $depth = substr_count($file, '/');
200 if ($depth >= $opts['depth']) return false; // depth reached
267 $depth = substr_count($file, '/');
268 if ($depth >= $opts['depth']) return false; // depth reached
521 $depth = substr_count($file, '/');
522 if ($depth >= $opts['depth']) {
/dokuwiki/inc/Remote/
H A DApiCore.php243 * @param int $depth How deep to search. 0 for all subnamespaces
248 public function listPages($namespace = '', $depth = 1, $hash = false) argument
255 if ($namespace === '' && $depth === 0) {
260 if ($depth) {
261 $depth += substr_count($namespace, ':') + 1;
268 $opts['depth'] = $depth;
749 * @param int $depth How deep to search. 0 for all subnamespaces
754 public function listMedia($namespace = '', $pattern = '', $depth = 1, $hash = false) argument
762 'depth' => $depth,
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1756 $depth = 0;
1764 $depth++;
1765 while ($depth && $position < $length) {
1773 $depth++;
1777 $depth--;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php1046 static $depth = 0;
1049 if ($depth != 0 && $key == '..') {
1064 $depth++;
1066 $depth--;