TemplateScope
Table of Contents
Methods
-
__construct()
: mixed
-
fromArray()
: TemplateScope|null
-
getCategoryId()
: mixed
-
getComplexDocumentType()
: array<string|int, mixed>
-
getDocumentType()
: string
-
getEntity()
: string
-
getId()
: string
-
getModuleId()
: string
-
getStatusId()
: string
-
getTemplate()
: Template|null
-
setNames()
: self
-
setStatusColor()
: self
-
toArray()
: array<string|int, mixed>
__construct()
public
__construct(array<string|int, mixed> $documentType, mixed $categoryId, string $status) : mixed
Parameters
-
$documentType
: array<string|int, mixed>
-
-
$categoryId
: mixed
-
-
$status
: string
-
fromArray()
public
static fromArray(array<string|int, mixed> $rawScope) : TemplateScope|null
Parameters
-
$rawScope
: array<string|int, mixed>
-
getCategoryId()
public
getCategoryId() : mixed
getComplexDocumentType()
public
getComplexDocumentType() : array<string|int, mixed>
Return values
array<string|int, mixed>
getDocumentType()
public
getDocumentType() : string
getEntity()
public
getEntity() : string
getId()
public
getId() : string
getModuleId()
public
getModuleId() : string
getStatusId()
public
getStatusId() : string
getTemplate()
public
getTemplate() : Template|null
setNames()
public
setNames(string|null $categoryName, string|null $statusName) : self
Parameters
-
$categoryName
: string|null
-
-
$statusName
: string|null
-
setStatusColor()
public
setStatusColor(string $color) : self
Parameters
-
$color
: string
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>