Home
last modified time | relevance | path

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

/dokuwiki/inc/Parsing/Handler/
H A DLists.php39 $depth = $this->interpretSyntax($call[1][0], $listType);
41 $this->initialDepth = $depth;
43 $this->listStack[] = [$listType, $depth, 1];
67 $depth = $this->interpretSyntax($call[1][0], $listType);
72 if ($depth < $this->initialDepth) {
73 $depth = $this->initialDepth;
76 if ($depth == $end[1]) {
81 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
93 $this->listCalls[] = ['listitem_open', [$depth - 1], $call[2]];
97 $this->listStack[] = [$listType, $depth, count($this->listCalls) - 2];
[all …]
/dokuwiki/inc/TreeBuilder/
H A DPageTreeBuilder.php101 * @param int $depth Current depth, recursion stops at 0
104 protected function createHierarchy(AbstractNode $parent, string $dir, int $depth) argument
108 $this->processNamespaces($parent, $dir, $depth);
122 * @param int $depth Current depth level
125 protected function processNamespaces(AbstractNode $parent, string $dir, int $depth) argument
143 if ($depth !== 0 && $this->applyRecursionDecision($node, $this->maxdepth - $depth)) {
144 $this->createHierarchy($node, $dir . '/' . $subdir, $depth - 1);
253 protected function applyRecursionDecision(AbstractNode $node, int $depth): bool argument
259 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/splitbrain/php-jsstrip/src/
H A DJSStrip.php79 $depth = 0;
87 $depth++;
90 $depth--;
93 } while ($depth >= 0);
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php721 $depth = 0;
729 $depth++;
730 while ($depth && $position < $length) {
738 $depth++;
742 $depth--;
/dokuwiki/inc/
H A Dsearch.php198 $depth = substr_count($file, '/');
199 if ($depth >= $opts['depth']) return false; // depth reached
266 $depth = substr_count($file, '/');
267 if ($depth >= $opts['depth']) return false; // depth reached
520 $depth = substr_count($file, '/');
521 if ($depth >= $opts['depth']) {
/dokuwiki/inc/Remote/
H A DApiCore.php246 * @param int $depth How deep to search. 0 for all subnamespaces
251 public function listPages($namespace = '', $depth = 1, $hash = false) argument
258 if ($namespace === '' && $depth === 0) {
263 if ($depth) {
264 $depth += substr_count($namespace, ':') + 1;
271 $opts['depth'] = $depth;
756 * @param int $depth How deep to search. 0 for all subnamespaces
761 public function listMedia($namespace = '', $pattern = '', $depth = 1, $hash = false) argument
769 'depth' => $depth,
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1778 $depth = 0;
1786 $depth++;
1787 while ($depth && $position < $length) {
1795 $depth++;
1799 $depth--;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php1053 static $depth = 0;
1056 if ($depth != 0 && $key == '..') {
1071 $depth++;
1073 $depth--;