1 file_example_session_streams.inc public FileExampleSessionStreamWrapper::dir_closedir()

Support for closedir().

Return value

bool: TRUE on success.

Overrides StreamWrapperInterface::dir_closedir

See also

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

File

modules/examples/file_example/file_example_session_streams.inc, line 712
Provides a demonstration session:// stream-wrapper.

Class

FileExampleSessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Code

public function dir_closedir() {
  $this->directoryPointer = 0;
  unset($this->directoryKeys);

  return TRUE;
}