IMP_Imap_Cache_Wrapper
in package
implements
Serializable
A serializable wrapper for the IMAP cache backend. Ensures that IMAP object uses global Horde object for caching.
Tags
Table of Contents
Interfaces
- Serializable
Properties
- $backend : Horde_Imap_Client_Cache_Backend
- Cache object.
- $_params : array<string|int, mixed>
- Cache parameters: - driver (string) - lifetime (integer)
Methods
- __call() : mixed
- Redirects calls to the logger object.
- __construct() : mixed
- Constructor.
- __serialize() : array<string|int, mixed>
- __unserialize() : void
- serialize() : mixed
- unserialize() : mixed
- _initOb() : mixed
Properties
$backend
Cache object.
public
Horde_Imap_Client_Cache_Backend
$backend
$_params
Cache parameters: - driver (string) - lifetime (integer)
protected
array<string|int, mixed>
$_params
= array()
Methods
__call()
Redirects calls to the logger object.
public
__call(mixed $name, mixed $arguments) : mixed
Parameters
- $name : mixed
- $arguments : mixed
__construct()
Constructor.
public
__construct(string $driver[, int $lifetime = null ]) : mixed
Parameters
- $driver : string
-
Cache driver to use.
- $lifetime : int = null
-
Cache lifetime.
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
serialize()
public
serialize() : mixed
unserialize()
public
unserialize(mixed $data) : mixed
Parameters
- $data : mixed
_initOb()
protected
_initOb(mixed $params) : mixed
Parameters
- $params : mixed