PHP Class IMP_Compose_Attachment, horde

Author: Michael Slusarz ([email protected])
Inheritance: implements Serializable
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$forceLinked boolean Force this attachment to be linked?
$id integer Attachment ID.
$related boolean Is this part associated with multipart/related data?

Protected Properties

Свойство Type Description
$_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.

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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 méthode

public __get ( $name )

delete() public méthode

Delete the attachment data.
public delete ( )

getPart() public méthode

Return the MIME part object.
public getPart ( boolean $build = false ) : Horde_Mime_Part
$build boolean If true, ensures the part contains the data.
Résultat Horde_Mime_Part MIME part object.

serialize() public méthode

public serialize ( )

unserialize() public méthode

public unserialize ( $data )

viewUrl() public méthode

Get a URL of the data.
public viewUrl ( ) : Horde_Url
Résultat Horde_Url URL to display the attachment data.

Property Details

$_composeCache protected_oe property

Compose object cache ID.
protected string $_composeCache
Résultat string

$_isBuilt protected_oe property

Does the part contain the attachment contents?
protected bool $_isBuilt
Résultat boolean

$_linked protected_oe property

Should this attachment be linked?
protected bool $_linked
Résultat boolean

$_part protected_oe property

MIME part object.
protected Horde_Mime_Part $_part
Résultat Horde_Mime_Part

$_uuid protected_oe property

The unique identifier for the file.
protected string $_uuid
Résultat string

$forceLinked public_oe property

Force this attachment to be linked?
public bool $forceLinked
Résultat boolean

$id public_oe property

Attachment ID.
public int $id
Résultat integer