Modules/Groupware/Email/Message.php

Show: inherited
Table of Contents

\Conjoon_Modules_Groupware_Email_Message

Package: Conjoon\Groupware\Email

An email item defines itself as a collection of data from the emails header, such as to cc from subject date (delivery date)

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  $attachments= ''
Details
Type
n/a
Propertyprivate  $bcc= ''
Details
Type
n/a
Propertyprivate  $body= ''
Details
Type
n/a
Propertyprivate  $cc= ''
Details
Type
n/a
Propertyprivate  $date= ''
Details
Type
n/a
Propertyprivate  $from= ''
Details
Type
n/a
Propertyprivate  $groupwareEmailFoldersId= ''
Details
Type
n/a
Propertyprivate  $id= ''
Details
Type
n/a
Propertyprivate  $isPlainText= ''
Details
Type
n/a
Propertyprivate  $isSpam= ''
Details
Type
n/a
Propertyprivate  $replyTo= ''
Details
Type
n/a
Propertyprivate  $subject= ''
Details
Type
n/a
Propertyprivate  $to= ''
Details
Type
n/a

Methods

methodpublic__construct( ) : void

Constructor.

methodpublic__toString( ) : string

Returns a textual representation of the current object.

Returns
Type Description
string
methodpublicgetAttachments( ) : void

methodpublicgetBcc( ) : void

methodpublicgetBody( ) : void

methodpublicgetCc( ) : void

methodpublicgetDate( ) : void

methodpublicgetDto( ) : \Conjoon_Groupware_Email_AccountDto

Returns a Dto for an instance of this class.

Returns
Type Description
\Conjoon_Groupware_Email_AccountDto
methodpublicgetFrom( ) : void

methodpublicgetGroupwareEmailFoldersId( ) : void

methodpublicgetId( ) : void

methodpublicgetReplyTo( ) : void

methodpublicgetSubject( ) : void

methodpublicgetTo( ) : void

methodpublicisPlainText( ) : void

methodpublicisSpam( ) : void

methodpublicserialize( ) : string

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

Returns
Type Description
string
methodpublicsetAttachments(  $attachments ) : void

Parameters
Name Type Description
$attachments
methodpublicsetBcc(  $bcc ) : void

Parameters
Name Type Description
$bcc
methodpublicsetBody(  $body ) : void

Parameters
Name Type Description
$body
methodpublicsetCc(  $cc ) : void

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

Parameters
Name Type Description
$date
methodpublicsetFrom(  $from ) : void

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

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

Parameters
Name Type Description
$id
methodpublicsetPlainText(  $isPlainText ) : void

Parameters
Name Type Description
$isPlainText
methodpublicsetReplyTo(  $replyTo ) : void

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

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

Parameters
Name Type Description
$subject
methodpublicsetTo(  $to ) : void

Parameters
Name Type Description
$to
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.