XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__clone () | |
bind (Swift_InputByteStream $is) | |
commit () | |
flushBuffers () | |
setItemKey ($itemKey) | |
setKeyCache (Swift_KeyCache $keyCache) | |
setNsKey ($nsKey) | |
setWriteThroughStream (Swift_InputByteStream $is) | |
unbind (Swift_InputByteStream $is) | |
write ($bytes, Swift_InputByteStream $is=null) | |
Private Attributes | |
$_itemKey | |
$_keyCache | |
$_nsKey | |
$_writeThrough = null | |
Definition at line 20 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::__clone | ( | ) |
Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 126 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::bind | ( | Swift_InputByteStream | $is | ) |
Not used.
Implements Swift_InputByteStream.
Definition at line 84 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::commit | ( | ) |
Not used.
Implements Swift_InputByteStream.
Definition at line 77 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::flushBuffers | ( | ) |
Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
Implements Swift_InputByteStream.
Definition at line 99 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::setItemKey | ( | $itemKey | ) |
Set the itemKey which will be written to.
string | $itemKey |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 117 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::setKeyCache | ( | Swift_KeyCache | $keyCache | ) |
Set the KeyCache to wrap.
Swift_KeyCache | $keyCache |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 40 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::setNsKey | ( | $nsKey | ) |
Set the nsKey which will be written to.
string | $nsKey |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 108 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::setWriteThroughStream | ( | Swift_InputByteStream | $is | ) |
Specify a stream to write through for each write().
Swift_InputByteStream | $is |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 49 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::unbind | ( | Swift_InputByteStream | $is | ) |
Not used.
Implements Swift_InputByteStream.
Definition at line 91 of file SimpleKeyCacheInputStream.php.
Swift_KeyCache_SimpleKeyCacheInputStream::write | ( | $bytes, | |
Swift_InputByteStream | $is = null |
||
) |
Writes $bytes to the end of the stream.
string | $bytes | |
Swift_InputByteStream | $is,optional |
Definition at line 59 of file SimpleKeyCacheInputStream.php.
References Swift_KeyCache\MODE_APPEND.
|
private |
The itemKey of the KeyCache being written to
Definition at line 31 of file SimpleKeyCacheInputStream.php.
|
private |
The KeyCache being written to
Definition at line 25 of file SimpleKeyCacheInputStream.php.
|
private |
The nsKey of the KeyCache being written to
Definition at line 28 of file SimpleKeyCacheInputStream.php.
|
private |
A stream to write through on each write()
Definition at line 34 of file SimpleKeyCacheInputStream.php.