Provides a mechanism for storing data using two keys.
package | Swift |
---|---|
subpackage | KeyCache |
author | Chris Corbyn |
clearAll(string $nsKey)
string
clearKey(string $nsKey, string $itemKey)
string
string
exportToByteStream(string $nsKey, string $itemKey, \Swift_InputByteStream $is)
getInputByteStream(string $nsKey, string $itemKey, \Swift_InputByteStream $is) : \Swift_InputByteStream
NOTE: The stream will always write in append mode. If the optional third parameter is passed all writes will go through $is.
string
string
getString(string $nsKey, string $itemKey) : string
string
string
string
hasKey(string $nsKey, string $itemKey) : boolean
string
string
boolean
importFromByteStream(string $nsKey, string $itemKey, \Swift_OutputByteStream $os, int $mode)
setString(string $nsKey, string $itemKey, string $string, int $mode)
MODE_APPEND
MODE_WRITE