MailHistory extends AbstractEntity
MailHistory
Tags
Table of Contents
$id | int | |
---|---|---|
$send_date | DateTime|null | |
$mail_subject | string|null | |
$mail_body | string|null | |
$mail_html_body | string|null | |
$Order | Order | |
$Creator | Member | |
$AnnotationReader | ||
__toString() | string | |
getId() | Get id. | int |
setSendDate() | Set sendDate. | MailHistory |
getSendDate() | Get sendDate. | DateTime|null |
setMailSubject() | Set mailSubject. | MailHistory |
getMailSubject() | Get mailSubject. | string|null |
setMailBody() | Set mailBody. | MailHistory |
getMailBody() | Get mailBody. | string|null |
setMailHtmlBody() | Set mailHtmlBody. | MailHistory |
getMailHtmlBody() | Get mailHtmlBody. | string|null |
setOrder() | Set order. | MailHistory |
getOrder() | Get order. | Order|null |
setCreator() | Set creator. | MailHistory |
getCreator() | Get creator. | Member|null |
offsetExists() | mixed | |
offsetSet() | mixed | |
offsetGet() | mixed | |
offsetUnset() | mixed | |
setPropertiesFromArray() | 引数の連想配列を元にプロパティを設定します. | mixed |
toArray() | Convert to associative array. | array |
toNormalizedArray() | Convert to associative array, and normalize to association properties. | array |
toJSON() | Convert to JSON. | string |
toXML() | Convert to XML. | string |
copyProperties() | コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー | AbstractEntity |
setAnnotationReader() | Set AnnotationReader. | AbstractEntity |
getAnnotationReader() | Get AnnotationReader. | Reader |
getEntityIdentifierAsArray() | Convert to Entity of Identity value to associative array. | array |
Properties
$id
private
int
$id
Tags
$send_date
private
DateTime|null
$send_date
Tags
$mail_subject
private
string|null
$mail_subject
Tags
$mail_body
private
string|null
$mail_body
Tags
$mail_html_body
private
string|null
$mail_html_body
Tags
$Order
private
Order
$Order
Tags
$Creator
private
Member
$Creator
Tags
$AnnotationReader
private
mixed
$AnnotationReader
Methods
__toString()
public
__toString(
)
: string
Return values
stringgetId()
Get id.
public
getId(
)
: int
Return values
intsetSendDate()
Set sendDate.
public
setSendDate(
[ $sendDate :
DateTime|null
= null ]
)
: MailHistory
Parameters
- $sendDate : DateTime|null = null
Return values
MailHistorygetSendDate()
Get sendDate.
public
getSendDate(
)
: DateTime|null
Return values
DateTime|nullsetMailSubject()
Set mailSubject.
public
setMailSubject(
[ $mailSubject :
string|null
= null ]
)
: MailHistory
Parameters
- $mailSubject : string|null = null
Return values
MailHistorygetMailSubject()
Get mailSubject.
public
getMailSubject(
)
: string|null
Return values
string|nullsetMailBody()
Set mailBody.
public
setMailBody(
[ $mailBody :
string|null
= null ]
)
: MailHistory
Parameters
- $mailBody : string|null = null
Return values
MailHistorygetMailBody()
Get mailBody.
public
getMailBody(
)
: string|null
Return values
string|nullsetMailHtmlBody()
Set mailHtmlBody.
public
setMailHtmlBody(
[ $mailHtmlBody :
string|null
= null ]
)
: MailHistory
Parameters
- $mailHtmlBody : string|null = null
Return values
MailHistorygetMailHtmlBody()
Get mailHtmlBody.
public
getMailHtmlBody(
)
: string|null
Return values
string|nullsetOrder()
Set order.
public
setOrder(
[ $order :
Order|null
= null ]
)
: MailHistory
Parameters
- $order : Order|null = null
Return values
MailHistorygetOrder()
Get order.
public
getOrder(
)
: Order|null
Return values
Order|nullsetCreator()
Set creator.
public
setCreator(
[ $creator :
Member|null
= null ]
)
: MailHistory
Parameters
- $creator : Member|null = null
Return values
MailHistorygetCreator()
Get creator.
public
getCreator(
)
: Member|null
Return values
Member|nulloffsetExists()
public
offsetExists(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetSet()
public
offsetSet(
$offset :
mixed
, $value :
mixed
)
: mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixedoffsetGet()
public
offsetGet(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedoffsetUnset()
public
offsetUnset(
$offset :
mixed
)
: mixed
Parameters
- $offset : mixed
Return values
mixedsetPropertiesFromArray()
引数の連想配列を元にプロパティを設定します.
public
setPropertiesFromArray(
$arrProps :
array
[, $excludeAttribute :
string[]
= [] ]
[, $parentClass :
ReflectionClass
= null ]
)
: mixed
DBから取り出した連想配列を, プロパティへ設定する際に使用します.
Parameters
- $arrProps : array
プロパティの情報を格納した連想配列
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
- $parentClass : ReflectionClass = null
親のクラス. 本メソッドの内部的に使用します.
Return values
mixedtoArray()
Convert to associative array.
public
toArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
[, $parentClass :
ReflectionClass
= null ]
)
: array
Symfony Serializer Component is expensive, and hard to implementation. Use for encoder only.
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
- $parentClass : ReflectionClass = null
parent class. Use internally of this method..
Return values
arraytoNormalizedArray()
Convert to associative array, and normalize to association properties.
public
toNormalizedArray(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: array
The type conversion such as:
- Datetime :: W3C datetime format string
- AbstractEntity :: associative array such as [id => value]
- PersistentCollection :: associative array of [[id => value], [id => value], ...]
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
arraytoJSON()
Convert to JSON.
public
toJSON(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringtoXML()
Convert to XML.
public
toXML(
[ $excludeAttribute :
array
= ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader'] ]
)
: string
Parameters
- $excludeAttribute : array = ['__initializer__', '__cloner__', '__isInitialized__', 'AnnotationReader']
Array of field names to exclusion.
Return values
stringcopyProperties()
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
public
copyProperties(
$srcObject :
object
[, $excludeAttribute :
string[]
= [] ]
)
: AbstractEntity
Parameters
- $srcObject : object
コピー元のオブジェクト
- $excludeAttribute : string[] = []
除外したいフィールド名の配列
Return values
AbstractEntitysetAnnotationReader()
Set AnnotationReader.
public
setAnnotationReader(
$Reader :
Reader
)
: AbstractEntity
Parameters
- $Reader : Reader
Return values
AbstractEntitygetAnnotationReader()
Get AnnotationReader.
public
getAnnotationReader(
)
: Reader
Return values
ReadergetEntityIdentifierAsArray()
Convert to Entity of Identity value to associative array.
public
getEntityIdentifierAsArray(
$Entity :
AbstractEntity
)
: array
Parameters
- $Entity : AbstractEntity
Return values
array —associative array of [[id => value], [id => value], ...]