Documentation

IMP_Factory_ComposeAtc extends Horde_Core_Factory_Base
in package

A factory for creating the storage object to use for compose attachments.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

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

Table of Contents

Properties

$classAtc  : string
The class to use for attachment storage.
$classLinked  : string
The class to use for linked storage.
$_instances  : array<string|int, mixed>
Instances.

Methods

create()  : IMP_Compose_Attachment_Storage
Return the requested attachment storage instance.

Properties

$classAtc

The class to use for attachment storage.

public string $classAtc = 'IMP_Compose_Attachment_Storage_Temp'

$classLinked

The class to use for linked storage.

public string $classLinked = 'IMP_Compose_Attachment_Storage_VfsLinked'

$_instances

Instances.

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

Methods

create()

Return the requested attachment storage instance.

public create([string $user = null ][, string $id = null ][, string $type = null ]) : IMP_Compose_Attachment_Storage
Parameters
$user : string = null

User.

$id : string = null

Attachment identifier.

$type : string = null

Either 'atc' or 'linked'. If null, will auto-determine.

Tags
throws
IMP_Exception
Return values
IMP_Compose_Attachment_Storage

Storage object.


        
On this page

Search results