Public Member Functions | |
__construct ($string) | |
close () | |
| |
read ($count) | |
mark () | |
| |
markSupported () | |
reset () | |
| |
skip ($count) | |
isEof () | |
getWhole () | |
Static Public Member Functions | |
static | create ($string) |
| |
Protected Attributes | |
$string = null | |
$length = null | |
$next = 0 | |
$mark = 0 | |
Private Member Functions | |
ensureOpen () |
Definition at line 16 of file StringReader.class.php.
StringReader::__construct | ( | $ | string | ) |
static StringReader::create | ( | $ | string | ) | [static] |
StringReader::close | ( | ) |
Reimplemented from Reader.
Definition at line 41 of file StringReader.class.php.
StringReader::read | ( | $ | count | ) |
Reimplemented from Reader.
Definition at line 48 of file StringReader.class.php.
References ensureOpen().
Referenced by getWhole().
StringReader::mark | ( | ) |
Reimplemented from Reader.
Definition at line 65 of file StringReader.class.php.
References ensureOpen().
Referenced by reset().
StringReader::markSupported | ( | ) |
StringReader::reset | ( | ) |
Reimplemented from Reader.
Definition at line 82 of file StringReader.class.php.
References ensureOpen(), and mark().
StringReader::skip | ( | $ | count | ) |
Reimplemented from Reader.
Definition at line 91 of file StringReader.class.php.
References ensureOpen(), and isEof().
StringReader::isEof | ( | ) |
Reimplemented from Reader.
Definition at line 109 of file StringReader.class.php.
Referenced by skip().
StringReader::getWhole | ( | ) |
Reimplemented from Reader.
Definition at line 114 of file StringReader.class.php.
References read().
StringReader::ensureOpen | ( | ) | [private] |
StringReader::$string = null [protected] |
StringReader::$length = null [protected] |
Definition at line 19 of file StringReader.class.php.
StringReader::$next = 0 [protected] |
Definition at line 21 of file StringReader.class.php.
StringReader::$mark = 0 [protected] |
Definition at line 22 of file StringReader.class.php.