function PhpStreamWrapperInterface::dir_opendir

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_opendir()
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_opendir()
  3. 10 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::dir_opendir()

Open directory handle.

This method is called in response to opendir().

Parameters

string $path: Specifies the URL that was passed to opendir().

int $options: Whether or not to enforce safe_mode (0x04).

Return value

bool Returns TRUE on success or FALSE on failure.

See also

opendir()

http://php.net/manual/en/streamwrapper.dir-opendir.php

2 methods override PhpStreamWrapperInterface::dir_opendir()
DummyExternalReadOnlyWrapper::dir_opendir in core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php
LocalStream::dir_opendir in core/lib/Drupal/Core/StreamWrapper/LocalStream.php

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 43

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function dir_opendir($path, $options);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.