1 file_example_session_streams.inc public FileExampleSessionStreamWrapper::__construct()

Constructor method.

File

modules/examples/file_example/file_example_session_streams.inc, line 85
Provides a demonstration session:// streamwrapper.

Class

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

Code

public function __construct() {
  $_SESSION['file_example']['.isadir.txt'] = TRUE;
}