public function VideoRemoteStreamWrapper::dir_opendir in Video 8.2
Same name and namespace in other branches
- 8 src/StreamWrapper/VideoRemoteStreamWrapper.php \Drupal\video\StreamWrapper\VideoRemoteStreamWrapper::dir_opendir()
Support for opendir().
Parameters
string $uri: A string containing the URI to the directory to open.
int $options: Unknown (parameter is not documented in PHP Manual).
Return value
bool TRUE on success.
Overrides PhpStreamWrapperInterface::dir_opendir
See also
http://php.net/manual/streamwrapper.dir-opendir.php
File
- src/
StreamWrapper/ VideoRemoteStreamWrapper.php, line 195
Class
- VideoRemoteStreamWrapper
- Defines a video read only stream wrapper class.
Namespace
Drupal\video\StreamWrapperCode
public function dir_opendir($uri, $options) {
$this->uri = $uri;
$this->handle = opendir($this
->getLocalPath());
return (bool) $this->handle;
}