[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ -> KeyCache.php (summary)

(no description)

File Size: 104 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_KeyCache:: (8 methods):
  setString()
  importFromByteStream()
  getInputByteStream()
  getString()
  exportToByteStream()
  hasKey()
  clearKey()
  clearAll()


Interface: Swift_KeyCache  - X-Ref

Provides a mechanism for storing data using two keys.

setString($nsKey, $itemKey, $string, $mode)   X-Ref
Set a string into the cache under $itemKey for the namespace $nsKey.

param: string $nsKey
param: string $itemKey
param: string $string
param: int    $mode

importFromByteStream($nsKey, $itemKey, Swift_OutputByteStream $os, $mode)   X-Ref
Set a ByteStream into the cache under $itemKey for the namespace $nsKey.

param: string $nsKey
param: string $itemKey
param: int    $mode

getInputByteStream($nsKey, $itemKey, Swift_InputByteStream $is = null)   X-Ref
Provides a ByteStream which when written to, writes data to $itemKey.

NOTE: The stream will always write in append mode.
If the optional third parameter is passed all writes will go through $is.

param: string                $nsKey
param: string                $itemKey
param: Swift_InputByteStream $is      optional input stream
return: Swift_InputByteStream

getString($nsKey, $itemKey)   X-Ref
Get data back out of the cache as a string.

param: string $nsKey
param: string $itemKey
return: string

exportToByteStream($nsKey, $itemKey, Swift_InputByteStream $is)   X-Ref
Get data back out of the cache as a ByteStream.

param: string                $nsKey
param: string                $itemKey
param: Swift_InputByteStream $is      stream to write the data to

hasKey($nsKey, $itemKey)   X-Ref
Check if the given $itemKey exists in the namespace $nsKey.

param: string $nsKey
param: string $itemKey
return: bool

clearKey($nsKey, $itemKey)   X-Ref
Clear data for $itemKey in the namespace $nsKey if it exists.

param: string $nsKey
param: string $itemKey

clearAll($nsKey)   X-Ref
Clear all data in the namespace $nsKey if it exists.

param: string $nsKey



Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1