Documentation

IMP_Factory_Imap extends Horde_Core_Factory_Base
in package
implements Horde_Shutdown_Task, SplObserver

A Horde_Injector based IMP_Imap factory.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2010-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Interfaces

Horde_Shutdown_Task
SplObserver

Constants

BASE_OB  = "base\x00"

Properties

$_instance  : array<string|int, mixed>
List of IMP_Imap instances.

Methods

__construct()  : mixed
create()  : IMP_Imap
Return the IMP_Imap instance for a given mailbox/identifier.
destroy()  : mixed
Destroys an IMP_Imap instance.
shutdown()  : mixed
Saves IMP_Imap instance to the session on shutdown.
update()  : void

Constants

BASE_OB

public mixed BASE_OB = "base\x00"

Properties

$_instance

List of IMP_Imap instances.

private array<string|int, mixed> $_instance = array()

Methods

__construct()

public __construct(Horde_Injector $injector) : mixed
Parameters
$injector : Horde_Injector

create()

Return the IMP_Imap instance for a given mailbox/identifier.

public create([string $id = null ]) : IMP_Imap
Parameters
$id : string = null

Mailbox/identifier.

Return values
IMP_Imap

IMP_Imap object.

destroy()

Destroys an IMP_Imap instance.

public destroy(string $id) : mixed
Parameters
$id : string

Mailbox/identifier.

shutdown()

Saves IMP_Imap instance to the session on shutdown.

public shutdown() : mixed

update()

public update(SplSubject $subject) : void
Parameters
$subject : SplSubject

        
On this page

Search results