You are here

public function ResourceStreamWrapper::dir_opendir in D7 Media 6

Support for opendir().

Parameters

$url: A string containing the url to the directory to open.

$options: Unknown (parameter is not documented in PHP Manual).

Return value

TRUE on success.

Overrides StreamWrapperInterface::dir_opendir

File

resource/ResourceStreamWrapper.inc, line 306

Class

ResourceStreamWrapper
A base class for Resource Stream Wrappers.

Code

public function dir_opendir($url, $options) {
  $this->handle = opendir($this
    ->interpolateUrl($url));
  return (bool) $this->handle;
}