Lines Matching refs:path
50 * @param string $path
53 function getNodeForPath($path) { argument
55 $path = trim($path, '/');
56 if (isset($this->cache[$path])) return $this->cache[$path];
59 if (!strlen($path)) {
64 list($parentName, $baseName) = URLUtil::splitPath($path);
74 throw new Exception\NotFound('Could not find node at path: ' . $path);
80 $this->cache[$path] = $node;
91 * @param string $path
94 function nodeExists($path) { argument
99 if ($path === '') return true;
101 list($parent, $base) = URLUtil::splitPath($path);
173 * @param string $path
176 function delete($path) { argument
178 $node = $this->getNodeForPath($path);
181 list($parent) = URLUtil::splitPath($path);
189 * @param string $path
192 function getChildren($path) { argument
194 $node = $this->getNodeForPath($path);
196 $basePath = trim($path, '/');
223 * @param string $path
226 function markDirty($path) { argument
230 $path = trim($path, '/');
232 if ($path === '' || $nodePath == $path || strpos($nodePath, $path . '/') === 0)
257 foreach ($paths as $path) {
258 list($parent, $node) = URLUtil::splitPath($path);