TYPO3
7.6
|
Public Member Functions | |
setKeyCache (Swift_KeyCache $keyCache) | |
setWriteThroughStream (Swift_InputByteStream $is) | |
write ($bytes, Swift_InputByteStream $is=null) | |
commit () | |
bind (Swift_InputByteStream $is) | |
unbind (Swift_InputByteStream $is) | |
flushBuffers () | |
setNsKey ($nsKey) | |
setItemKey ($itemKey) | |
__clone () | |
Private Attributes | |
$_keyCache | |
$_nsKey | |
$_itemKey | |
$_writeThrough = null | |
Writes data to a KeyCache using a stream.
Definition at line 16 of file SimpleKeyCacheInputStream.php.
__clone | ( | ) |
Any implementation should be cloneable, allowing the clone to access a separate $nsKey and $itemKey.
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 123 of file SimpleKeyCacheInputStream.php.
bind | ( | Swift_InputByteStream | $is | ) |
Not used.
Implements Swift_InputByteStream.
Definition at line 79 of file SimpleKeyCacheInputStream.php.
commit | ( | ) |
Not used.
Implements Swift_InputByteStream.
Definition at line 72 of file SimpleKeyCacheInputStream.php.
flushBuffers | ( | ) |
Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
Implements Swift_InputByteStream.
Definition at line 94 of file SimpleKeyCacheInputStream.php.
setItemKey | ( | $itemKey | ) |
Set the itemKey which will be written to.
string | $itemKey |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 114 of file SimpleKeyCacheInputStream.php.
setKeyCache | ( | Swift_KeyCache | $keyCache | ) |
Set the KeyCache to wrap.
Swift_KeyCache | $keyCache |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 35 of file SimpleKeyCacheInputStream.php.
setNsKey | ( | $nsKey | ) |
Set the nsKey which will be written to.
string | $nsKey |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 104 of file SimpleKeyCacheInputStream.php.
setWriteThroughStream | ( | Swift_InputByteStream | $is | ) |
Specify a stream to write through for each write().
Swift_InputByteStream | $is |
Implements Swift_KeyCache_KeyCacheInputStream.
Definition at line 45 of file SimpleKeyCacheInputStream.php.
unbind | ( | Swift_InputByteStream | $is | ) |
Not used.
Implements Swift_InputByteStream.
Definition at line 86 of file SimpleKeyCacheInputStream.php.
write | ( | $bytes, | |
Swift_InputByteStream | $is = null |
||
) |
Writes $bytes to the end of the stream.
string | $bytes | |
Swift_InputByteStream | $is | optional |
Definition at line 56 of file SimpleKeyCacheInputStream.php.
References Swift_KeyCache\MODE_APPEND.
|
private |
The itemKey of the KeyCache being written to
Definition at line 25 of file SimpleKeyCacheInputStream.php.
|
private |
The KeyCache being written to
Definition at line 19 of file SimpleKeyCacheInputStream.php.
|
private |
The nsKey of the KeyCache being written to
Definition at line 22 of file SimpleKeyCacheInputStream.php.
|
private |
A stream to write through on each write()
Definition at line 28 of file SimpleKeyCacheInputStream.php.