Modules/Groupware/Email/Item.php

Show: inherited
Table of Contents

\Conjoon_Modules_Groupware_Email_Item

Package: Conjoon\Groupware\Email

An email item defines itself as a collection of data from the emails header, such as

from subject date (delivery date)

to, cc, and bcc will be grouped together in the field "recipients".

Additionally, a few other properties will be set, which will help to identify the properties of the email represented by the item:

isAttachment -> wether the email item has attachments or not isRead -> wether or not the email was read by the current user viewing the email isSpam -> wether or not the email was marked as spam by the current user isDraft -> wether or not the email item is a draft created by a user, i.e. an email that is being written and will be send later on

Parent(s)
\Conjoon_BeanContext
Author
Thorsten-Suckow-Homberg  
Category
Conjoon_Groupware  
Uses
\Conjoon_BeanContext  

Properties

Propertyprivate  $date= ''
Details
Type
n/a
Propertyprivate  $groupwareEmailFoldersId= ''
Details
Type
n/a
Propertyprivate  $id= ''
Details
Type
n/a
Propertyprivate  $isAttachment= ''
Details
Type
n/a
Propertyprivate  $isDraft= ''
Details
Type
n/a
Propertyprivate  $isOutboxPending= ''
Details
Type
n/a
Propertyprivate  $isRead= ''
Details
Type
n/a
Propertyprivate  $isSpam= ''
Details
Type
n/a
Propertyprivate  $recipients= ''
Details
Type
n/a
Propertyprivate  $referencedAsTypes= ''
Details
Type
n/a
Propertyprivate  $sender= ''
Details
Type
n/a
Propertyprivate  $subject= ''
Details
Type
n/a

Methods

methodpublic__construct( ) : void

Constructor.

methodpublic__toString( ) : string

Returns a textual representation of the current object.

Returns
Type Description
string
methodpublicgetDate( ) : void

methodpublicgetDto( ) : \Conjoon_Groupware_Email_AccountDto

Returns a Dto for an instance of this class.

Returns
Type Description
\Conjoon_Groupware_Email_AccountDto
methodpublicgetGroupwareEmailFoldersId( ) : void

methodpublicgetId( ) : void

methodpublicgetRecipients( ) : void

methodpublicgetReferencedAsTypes( ) : void

methodpublicgetSender( ) : void

methodpublicgetSubject( ) : void

methodpublicisAttachment( ) : void

methodpublicisDraft( ) : void

methodpublicisOutboxPending( ) : void

methodpublicisRead( ) : void

methodpublicisSpam( ) : void

methodpublicserialize( ) : string

Serializes properties and returns them as a string which can later on be unserialized.

Returns
Type Description
string
methodpublicsetAttachment(  $isAttachment ) : void

Parameters
Name Type Description
$isAttachment
methodpublicsetDate(  $date ) : void

Parameters
Name Type Description
$date
methodpublicsetDraft(  $isDraft ) : void

Parameters
Name Type Description
$isDraft
methodpublicsetGroupwareEmailFoldersId(  $groupwareEmailFoldersId ) : void

Parameters
Name Type Description
$groupwareEmailFoldersId
methodpublicsetId(  $id ) : void

Parameters
Name Type Description
$id
methodpublicsetOutboxPending(  $isOutboxPending ) : void

Parameters
Name Type Description
$isOutboxPending
methodpublicsetRead(  $isRead ) : void

Parameters
Name Type Description
$isRead
methodpublicsetRecipients(  $recipients ) : void

Parameters
Name Type Description
$recipients
methodpublicsetReferencedAsTypes(  $referencedAsTypes ) : void

Parameters
Name Type Description
$referencedAsTypes
methodpublicsetSender(  $sender ) : void

Parameters
Name Type Description
$sender
methodpublicsetSpam(  $isSpam ) : void

Parameters
Name Type Description
$isSpam
methodpublicsetSubject(  $subject ) : void

Parameters
Name Type Description
$subject
methodpublictoArray( ) : array

Returns an associative array, which key/value pairs represent the properties stored by this object.

Returns
Type Description
array
methodpublicunserialize( string $serialized ) : void

Unserializes $serialized and assigns the specific values found to the members in this class.

Parameters
Name Type Description
$serialized string

The serialized representation of a former instance of this class.

Documentation was generated by DocBlox 0.18.1.