IMP_Factory_Compose
extends Horde_Core_Factory_Base
in package
implements
Horde_Shutdown_Task
A Horde_Injector based IMP_Compose factory.
Tags
Table of Contents
Interfaces
- Horde_Shutdown_Task
Constants
- STORAGE_KEY = 'compose_ob/'
- Storage key for compose objects.
Properties
- $_instances : array<string|int, mixed>
- Instances.
Methods
- __construct() : mixed
- create() : IMP_Compose
- Return the IMP_Compose:: instance.
- getAllObs() : array<string|int, mixed>
- Return a list of all compose objects currently stored in the session.
- shutdown() : mixed
- Tasks to perform on shutdown.
Constants
STORAGE_KEY
Storage key for compose objects.
public
mixed
STORAGE_KEY
= 'compose_ob/'
Properties
$_instances
Instances.
private
array<string|int, mixed>
$_instances
= array()
Methods
__construct()
public
__construct(Horde_Injector $injector) : mixed
Parameters
- $injector : Horde_Injector
create()
Return the IMP_Compose:: instance.
public
create([string $cacheid = null ]) : IMP_Compose
Parameters
- $cacheid : string = null
-
The cache ID string.
Tags
Return values
IMP_Compose —The singleton compose instance.
getAllObs()
Return a list of all compose objects currently stored in the session.
public
getAllObs() : array<string|int, mixed>
Return values
array<string|int, mixed> —List of IMP_Compose objects.
shutdown()
Tasks to perform on shutdown.
public
shutdown() : mixed