Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Swift_KeyCache_ArrayKeyCache
  • Swift_KeyCache_DiskKeyCache
  • Swift_KeyCache_DummyKeyCache
  • Swift_KeyCache_NullKeyCache
  • Swift_KeyCache_SimpleKeyCacheInputStream

Interfaces

  • Swift_KeyCache
  • Swift_KeyCache_KeyCacheInputStream

Class Swift_KeyCache_NullKeyCache

A null KeyCache that does not cache at all.

Swift_KeyCache_NullKeyCache implements Swift_KeyCache
Package: Swift\KeyCache
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/KeyCache/NullKeyCache.php

Methods summary

public
# setString( string $nsKey, string $itemKey, string $string, integer $mode )

Set a string into the cache under $itemKey for the namespace $nsKey.

Set a string into the cache under $itemKey for the namespace $nsKey.

Parameters

$nsKey
string
$nsKey
$itemKey
string
$itemKey
$string
string
$string
$mode
integer
$mode

See

Swift_KeyCache::MODE_WRITE, Swift_KeyCache::MODE_APPEND

Implementation of

Swift_KeyCache::setString()
public
# importFromByteStream( string $nsKey, string $itemKey, Swift_OutputByteStream $os, integer $mode )

Set a ByteStream into the cache under $itemKey for the namespace $nsKey.

Set a ByteStream into the cache under $itemKey for the namespace $nsKey.

Parameters

$nsKey
string
$nsKey
$itemKey
string
$itemKey
$os
Swift_OutputByteStream
$os
$mode
integer
$mode

See

Swift_KeyCache::MODE_WRITE, Swift_KeyCache::MODE_APPEND

Implementation of

Swift_KeyCache::importFromByteStream()
public Swift_InputByteStream
# getInputByteStream( string $nsKey, string $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.

Provides a ByteStream which when written to, writes data to $itemKey. NOTE: The stream will always write in append mode.

Parameters

$nsKey
string
$nsKey
$itemKey
string
$itemKey
$writeThrough
Swift_InputByteStream
$is, optional

Returns

Swift_InputByteStream

Implementation of

Swift_KeyCache::getInputByteStream()
public string
# getString( string $nsKey, string $itemKey )

Get data back out of the cache as a string.

Get data back out of the cache as a string.

Parameters

$nsKey
string
$nsKey
$itemKey
string
$itemKey

Returns

string

Implementation of

Swift_KeyCache::getString()
public
# exportToByteStream( string $nsKey, string $itemKey, Swift_InputByteStream $is )

Get data back out of the cache as a ByteStream.

Get data back out of the cache as a ByteStream.

Parameters

$nsKey
string
$nsKey
$itemKey
string
$itemKey
$is
Swift_InputByteStream
$is to write the data to

Implementation of

Swift_KeyCache::exportToByteStream()
public boolean
# hasKey( string $nsKey, string $itemKey )

Check if the given $itemKey exists in the namespace $nsKey.

Check if the given $itemKey exists in the namespace $nsKey.

Parameters

$nsKey
string
$nsKey
$itemKey
string
$itemKey

Returns

boolean

Implementation of

Swift_KeyCache::hasKey()
public
# clearKey( string $nsKey, string $itemKey )

Clear data for $itemKey in the namespace $nsKey if it exists.

Clear data for $itemKey in the namespace $nsKey if it exists.

Parameters

$nsKey
string
$nsKey
$itemKey
string
$itemKey

Implementation of

Swift_KeyCache::clearKey()
public
# clearAll( string $nsKey )

Clear all data in the namespace $nsKey if it exists.

Clear all data in the namespace $nsKey if it exists.

Parameters

$nsKey
string
$nsKey

Implementation of

Swift_KeyCache::clearAll()

Magic methods summary

Constants summary

Constants inherited from Swift_KeyCache

MODE_APPEND, MODE_WRITE

Blesta API documentation generated by ApiGen 2.8.0