Table of Contents
-
AVAILABLE_TYPE
= ['emailMessageAboutChangedPassword', 'emailMessageAboutInviteInSubscription', 'emailMessageAboutRegistrationUserByMasterUser', 'emailMessageFromEmailSenderModule', 'emailMessageWithAuthorizationPinCode', 'emailMessageWithLinkForConfirmRegistration', 'emailMessageWithLinkForSetPassword', 'emailMessageWithReportBySubscription', 'issueNotification', 'issueMonitoringNotification']
-
$_id
: ObjectId
-
$body
: string
-
$header
: string
-
$organizationId
: ObjectId
-
$title
: string
-
$type
: string
-
__construct()
: mixed
-
__toString()
: string
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
fromArray()
: TemplateEntity
-
getBody()
: string
-
getHeader()
: string
-
getId()
: ObjectId
-
getOrganizationId()
: ObjectId
-
getTitle()
: string
-
getType()
: string
-
jsonSerialize()
: array<string|int, mixed>
-
parseObjectId()
: ObjectId|null
-
setBody()
: self
-
setHeader()
: self
-
setId()
: self
-
setOrganizationId()
: self
-
setTitle()
: self
-
setType()
: self
-
toArray()
: array<string|int, mixed>
AVAILABLE_TYPE
public
mixed
AVAILABLE_TYPE
= ['emailMessageAboutChangedPassword', 'emailMessageAboutInviteInSubscription', 'emailMessageAboutRegistrationUserByMasterUser', 'emailMessageFromEmailSenderModule', 'emailMessageWithAuthorizationPinCode', 'emailMessageWithLinkForConfirmRegistration', 'emailMessageWithLinkForSetPassword', 'emailMessageWithReportBySubscription', 'issueNotification', 'issueMonitoringNotification']
$_id
protected
ObjectId
$_id
$body
protected
string
$body
= ''
protected
string
$header
= ''
$organizationId
protected
ObjectId
$organizationId
$title
protected
string
$title
= 'undefined'
$type
protected
string
$type
= 'undefined'
__construct()
public
__construct([ObjectId|null $id = null ]) : mixed
Parameters
-
$id
: ObjectId|null
= null
-
Return values
mixed
—
__toString()
public
__toString() : string
Return values
string
—
bsonSerialize()
public
bsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
bsonUnserialize()
public
bsonUnserialize(array<string|int, mixed> $data) : void
Parameters
-
$data
: array<string|int, mixed>
-
Return values
void
—
fromArray()
public
static fromArray(array<string|int, mixed> $data) : TemplateEntity
Parameters
-
$data
: array<string|int, mixed>
-
Return values
TemplateEntity
—
getBody()
public
getBody() : string
Return values
string
—
public
getHeader() : string
Return values
string
—
getId()
public
getId() : ObjectId
Return values
ObjectId
—
getOrganizationId()
public
getOrganizationId() : ObjectId
Return values
ObjectId
—
getTitle()
public
getTitle() : string
Return values
string
—
getType()
public
getType() : string
Return values
string
—
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
parseObjectId()
public
static parseObjectId(mixed $objectId) : ObjectId|null
Parameters
-
$objectId
: mixed
-
Return values
ObjectId|null
—
setBody()
public
setBody(string $body) : self
Parameters
-
$body
: string
-
Return values
self
—
public
setHeader(string $header) : self
Parameters
-
$header
: string
-
Return values
self
—
setId()
public
setId(ObjectId $id) : self
Parameters
-
$id
: ObjectId
-
Return values
self
—
setOrganizationId()
public
setOrganizationId(ObjectId $organizationId) : self
Parameters
-
$organizationId
: ObjectId
-
Return values
self
—
setTitle()
public
setTitle(string $title) : self
Parameters
-
$title
: string
-
Return values
self
—
setType()
public
setType(string $type) : self
Parameters
-
$type
: string
-
Return values
self
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—