XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
clearAll ($nsKey) | |
clearKey ($nsKey, $itemKey) | |
exportToByteStream ($nsKey, $itemKey, Swift_InputByteStream $is) | |
getInputByteStream ($nsKey, $itemKey, Swift_InputByteStream $writeThrough=null) | |
getString ($nsKey, $itemKey) | |
hasKey ($nsKey, $itemKey) | |
importFromByteStream ($nsKey, $itemKey, Swift_OutputByteStream $os, $mode) | |
setString ($nsKey, $itemKey, $string, $mode) | |
Additional Inherited Members | |
Public Attributes inherited from Swift_KeyCache | |
const | MODE_APPEND = 2 |
const | MODE_WRITE = 1 |
Definition at line 22 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::clearAll | ( | $nsKey | ) |
Clear all data in the namespace $nsKey if it exists.
string | $nsKey |
Implements Swift_KeyCache.
Definition at line 106 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::clearKey | ( | $nsKey, | |
$itemKey | |||
) |
Clear data for $itemKey in the namespace $nsKey if it exists.
string | $nsKey | |
string | $itemKey |
Implements Swift_KeyCache.
Definition at line 98 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::exportToByteStream | ( | $nsKey, | |
$itemKey, | |||
Swift_InputByteStream | $is | ||
) |
Get data back out of the cache as a ByteStream.
string | $nsKey | |
string | $itemKey | |
Swift_InputByteStream | $is | to write the data to |
Implements Swift_KeyCache.
Definition at line 78 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::getInputByteStream | ( | $nsKey, | |
$itemKey, | |||
Swift_InputByteStream | $writeThrough = null |
||
) |
Provides a ByteStream which when written to, writes data to $itemKey. NOTE: The stream will always write in append mode.
string | $nsKey | |
string | $itemKey |
Implements Swift_KeyCache.
Definition at line 57 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::getString | ( | $nsKey, | |
$itemKey | |||
) |
Get data back out of the cache as a string.
string | $nsKey | |
string | $itemKey |
Implements Swift_KeyCache.
Definition at line 68 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::hasKey | ( | $nsKey, | |
$itemKey | |||
) |
Check if the given $itemKey exists in the namespace $nsKey.
string | $nsKey | |
string | $itemKey |
Implements Swift_KeyCache.
Definition at line 88 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::importFromByteStream | ( | $nsKey, | |
$itemKey, | |||
Swift_OutputByteStream | $os, | ||
$mode | |||
) |
Set a ByteStream into the cache under $itemKey for the namespace $nsKey.
string | $nsKey | |
string | $itemKey | |
Swift_OutputByteStream | $os | |
int | $mode |
Implements Swift_KeyCache.
Definition at line 45 of file NullKeyCache.php.
Swift_KeyCache_NullKeyCache::setString | ( | $nsKey, | |
$itemKey, | |||
$string, | |||
$mode | |||
) |
Set a string into the cache under $itemKey for the namespace $nsKey.
string | $nsKey | |
string | $itemKey | |
string | $string | |
int | $mode |
Implements Swift_KeyCache.
Definition at line 33 of file NullKeyCache.php.