TemplateFieldHandler
Table of Contents
Constants
-
DEPRECATED_FIELDS
= ['ACCOMPLICES', 'AUDITORS', 'RESPONSIBLES', 'TAGS', 'DEPENDS_ON']
Methods
-
__construct()
: mixed
-
getFields()
: array<string|int, mixed>
-
getFieldsToDb()
: array<string|int, mixed>
-
prepareBaseTemplate()
: $this
-
prepareBBCodes()
: $this
-
prepareDependencies()
: $this
-
prepareDescription()
: $this
-
prepareMembers()
: $this
-
prepareMultitask()
: $this
-
prepareParentId()
: $this
-
preparePriority()
: $this
-
prepareReplication()
: $this
-
prepareResponsible()
: $this
-
prepareSiteId()
: $this
-
prepareTags()
: $this
-
prepareTitle()
: $this
-
prepareType()
: $this
DEPRECATED_FIELDS
public
mixed
DEPRECATED_FIELDS
= ['ACCOMPLICES', 'AUDITORS', 'RESPONSIBLES', 'TAGS', 'DEPENDS_ON']
__construct()
public
__construct(int $userId, array<string|int, mixed> $fields[, array<string|int, mixed>|null $templateData = null ]) : mixed
Parameters
-
$userId
: int
-
-
$fields
: array<string|int, mixed>
-
-
$templateData
: array<string|int, mixed>|null
= null
-
getFields()
public
getFields() : array<string|int, mixed>
Return values
array<string|int, mixed>
getFieldsToDb()
public
getFieldsToDb() : array<string|int, mixed>
-
throws
-
ArgumentException
-
throws
-
SystemException
Return values
array<string|int, mixed>
prepareBaseTemplate()
public
prepareBaseTemplate() : $this
-
throws
-
TemplateFieldValidateException
-
throws
-
SystemException
prepareBBCodes()
public
prepareBBCodes() : $this
prepareDependencies()
public
prepareDependencies() : $this
prepareDescription()
public
prepareDescription() : $this
prepareMembers()
public
prepareMembers() : $this
prepareMultitask()
public
prepareMultitask() : $this
prepareParentId()
public
prepareParentId() : $this
-
throws
-
TemplateFieldValidateException
preparePriority()
public
preparePriority() : $this
prepareReplication()
public
prepareReplication() : $this
prepareResponsible()
public
prepareResponsible() : $this
-
throws
-
TemplateFieldValidateException
prepareSiteId()
public
prepareSiteId() : $this
public
prepareTags() : $this
prepareTitle()
public
prepareTitle() : $this
-
throws
-
TemplateFieldValidateException
prepareType()
public
prepareType() : $this
-
throws
-
TemplateFieldValidateException