public function DrupalLocalStreamWrapper::dir_closedir

public DrupalLocalStreamWrapper::dir_closedir()

Support for closedir().

Return value

TRUE on success.

Overrides StreamWrapperInterface::dir_closedir

See also

http://php.net/manual/streamwrapper.dir-closedir.php

File

includes/stream_wrappers.inc, line 752
Drupal stream wrapper interface.

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

public function dir_closedir() {
  closedir($this->handle);
  // We do not really have a way to signal a failure as closedir() does not
  // have a return value.
  return TRUE;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!stream_wrappers.inc/function/DrupalLocalStreamWrapper::dir_closedir/7.x