Lines Matching refs:path

77      * @param   string  $path      Path (or URL).
81 public static function realPath($path, $exists = true) argument
83 return Node::getRoot()->resolve($path, $exists);
169 * @param string $path The file path or URL to set metadata.
180 public function stream_metadata($path, $option, $values) argument
182 $path = static::realPath($path, false);
189 $out = touch($path);
191 $out = touch($path, $values[0]);
193 $out = touch($path, $values[0], $values[1]);
200 $out = chown($path, $values);
206 $out = chgrp($path, $values);
211 $out = chmod($path, $values);
227 * @param string $path Specifies the URL that was passed to the
249 public function stream_open($path, $mode, $options, &$openedPath) argument
251 $path = static::realPath($path, 'r' === $mode[0]);
253 if (Protocol::NO_RESOLUTION === $path) {
258 $openedPath = fopen($path, $mode, $options & STREAM_USE_PATH);
261 $path,
273 $this->_streamName = $path;
378 * @param string $path Specifies the URL that was passed to opendir().
383 public function dir_opendir($path, $options) argument
385 $path = static::realPath($path);
389 $handle = @opendir($path);
391 $handle = @opendir($path, $this->context);
399 $this->_streamName = $path;
433 * @param string $path Directory which should be created.
438 public function mkdir($path, $mode, $options) argument
442 static::realPath($path, false),
449 static::realPath($path, false),
482 * @param string $path The directory URL which should be removed.
487 public function rmdir($path, $options) argument
490 return rmdir(static::realPath($path));
493 return rmdir(static::realPath($path), $this->context);
500 * @param string $path The file URL which should be deleted.
503 public function unlink($path) argument
506 return unlink(static::realPath($path));
509 return unlink(static::realPath($path), $this->context);
516 * @param string $path The file URL which should be retrieve
536 public function url_stat($path, $flags) argument
538 $path = static::realPath($path);
540 if (Protocol::NO_RESOLUTION === $path) {
545 'Path ' . $path . ' cannot be resolved.',
552 return @lstat($path);
555 return @stat($path);
592 * @param string $path Path to resolve.
599 function resolve($path, $exists = true, $unfold = false) argument
601 return Hoa\Protocol::getInstance()->resolve($path, $exists, $unfold);