1 file_example_session_streams.inc public FileExampleSessionStreamWrapper::dir_rewinddir()

Support for rewinddir().

Return value

bool: TRUE on success.

Overrides StreamWrapperInterface::dir_rewinddir

See also

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

File

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

Class

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

Code

public function dir_rewinddir() {
  $this->directoryPointer = 0;

  return TRUE;
}