PHP Класс IMP_Compose_Attachment, horde

Автор: Michael Slusarz ([email protected])
Наследование: implements Serializable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$forceLinked boolean Force this attachment to be linked?
$id integer Attachment ID.
$related boolean Is this part associated with multipart/related data?

Защищенные свойства (Protected)

Свойство Тип Описание
$_composeCache string Compose object cache ID.
$_isBuilt boolean Does the part contain the attachment contents?
$_linked boolean Should this attachment be linked?
$_part Horde_Mime_Part MIME part object.
$_uuid string The unique identifier for the file.

Открытые методы

Метод Описание
__construct ( IMP_Compose $ob, Horde_Mime_Part $part, string $tmp_file ) Constructor.
__get ( $name )
delete ( ) Delete the attachment data.
getPart ( boolean $build = false ) : Horde_Mime_Part Return the MIME part object.
serialize ( )
unserialize ( $data )
viewUrl ( ) : Horde_Url Get a URL of the data.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( IMP_Compose $ob, Horde_Mime_Part $part, string $tmp_file )
$ob IMP_Compose Compose object.
$part Horde_Mime_Part MIME part object.
$tmp_file string Temporary filename containing the data.

__get() публичный Метод

public __get ( $name )

delete() публичный Метод

Delete the attachment data.
public delete ( )

getPart() публичный Метод

Return the MIME part object.
public getPart ( boolean $build = false ) : Horde_Mime_Part
$build boolean If true, ensures the part contains the data.
Результат Horde_Mime_Part MIME part object.

serialize() публичный Метод

public serialize ( )

unserialize() публичный Метод

public unserialize ( $data )

viewUrl() публичный Метод

Get a URL of the data.
public viewUrl ( ) : Horde_Url
Результат Horde_Url URL to display the attachment data.

Описание свойств

$_composeCache защищенное свойство

Compose object cache ID.
protected string $_composeCache
Результат string

$_isBuilt защищенное свойство

Does the part contain the attachment contents?
protected bool $_isBuilt
Результат boolean

$_linked защищенное свойство

Should this attachment be linked?
protected bool $_linked
Результат boolean

$_part защищенное свойство

MIME part object.
protected Horde_Mime_Part $_part
Результат Horde_Mime_Part

$_uuid защищенное свойство

The unique identifier for the file.
protected string $_uuid
Результат string

$forceLinked публичное свойство

Force this attachment to be linked?
public bool $forceLinked
Результат boolean

$id публичное свойство

Attachment ID.
public int $id
Результат integer