Back to index

php5  5.3.10
Public Member Functions | Static Public Attributes | Private Attributes
SQLite3_Test_Stream Class Reference

List of all members.

Public Member Functions

 stream_open ($path, $mode, $options, &$opened_path)
 stream_read ($count)
 stream_write ($data)
 stream_stat ()
 stream_tell ()
 stream_eof ()

Static Public Attributes

static $string_length = 10
static $string = "abcdefg\0hi"

Private Attributes

 $position

Detailed Description

Definition at line 3 of file stream_test.inc.


Member Function Documentation

Definition at line 37 of file stream_test.inc.

       {
              return ($this->position >= self::$string_length);
       }
SQLite3_Test_Stream::stream_open ( path,
mode,
options,
&$  opened_path 
)

Definition at line 9 of file stream_test.inc.

       {
              $this->position = 0;
              return true;
       }

Definition at line 15 of file stream_test.inc.

       {
              $ret = substr(self::$string, $this->position, $count);
              $this->position += strlen($ret);
              return $ret;
       }

Definition at line 27 of file stream_test.inc.

       {
              return array('size' => self::$string_length);
       }

Definition at line 32 of file stream_test.inc.

       {
              return $this->position;
       }

Definition at line 22 of file stream_test.inc.

       {
              return 0;
       }

Member Data Documentation

Definition at line 5 of file stream_test.inc.

SQLite3_Test_Stream::$string = "abcdefg\0hi" [static]

Definition at line 7 of file stream_test.inc.

Definition at line 6 of file stream_test.inc.


The documentation for this class was generated from the following file: