IMP_Factory_MailboxList
extends Horde_Core_Factory_Base
in package
implements
Horde_Shutdown_Task
A Horde_Injector based IMP_Mailbox_List factory.
Tags
Table of Contents
Interfaces
- Horde_Shutdown_Task
Constants
- STORAGE_KEY = 'mboxlist'
Properties
- $_cache : array<string|int, mixed>
- Cache instances.
- $_instances : array<string|int, mixed>
- Instances.
Methods
- create() : IMP_Mailbox_List
- Return the mailbox list instance.
- expireAll() : mixed
- Expires cached entries.
- shutdown() : mixed
- Tasks to perform on shutdown.
- _getCache() : Horde_Core_Cache_Session
- Return the proper cache object based on the mailbox type.
Constants
STORAGE_KEY
public
mixed
STORAGE_KEY
= 'mboxlist'
Properties
$_cache
Cache instances.
private
array<string|int, mixed>
$_cache
= array()
$_instances
Instances.
private
array<string|int, mixed>
$_instances
= array()
Methods
create()
Return the mailbox list instance.
public
create(string $mailbox) : IMP_Mailbox_List
Parameters
- $mailbox : string
-
The mailbox name.
Tags
Return values
IMP_Mailbox_List —The singleton instance.
expireAll()
Expires cached entries.
public
expireAll() : mixed
shutdown()
Tasks to perform on shutdown.
public
shutdown() : mixed
_getCache()
Return the proper cache object based on the mailbox type.
protected
_getCache(IMP_Mailbox $mbox) : Horde_Core_Cache_Session
Parameters
- $mbox : IMP_Mailbox
-
Mailbox object.
Return values
Horde_Core_Cache_Session —Session cache object.