RestAppLayoutBlocksModel
Table of Contents
Methods
-
__construct()
: mixed
-
createFromArray()
: self
-
getClientId()
: string
-
getContentBlocks()
: array<string|int, ContentBlockDto>
-
getItemId()
: int
-
getItemTypeId()
: int
-
setClientId()
: self
-
setContentBlocks()
: $this
-
setItemId()
: self
-
setItemTypeId()
: self
__construct()
public
__construct(int $itemTypeId, int $itemId, string $clientId[, array<string|int, mixed> $contentBlocks = [] ]) : mixed
Parameters
-
$itemTypeId
: int
-
-
$itemId
: int
-
-
$clientId
: string
-
-
$contentBlocks
: array<string|int, mixed>
= []
-
createFromArray()
public
static createFromArray(array<string|int, mixed> $data) : self
Parameters
-
$data
: array<string|int, mixed>
-
getClientId()
public
getClientId() : string
getContentBlocks()
public
getContentBlocks() : array<string|int, ContentBlockDto>
getItemId()
public
getItemId() : int
getItemTypeId()
public
getItemTypeId() : int
setClientId()
public
setClientId(string $clientId) : self
Parameters
-
$clientId
: string
-
setContentBlocks()
public
setContentBlocks(array<string|int, ContentBlockDto> $contentBlocks) : $this
Parameters
-
$contentBlocks
: array<string|int, ContentBlockDto>
-
setItemId()
public
setItemId(int $itemId) : self
Parameters
-
$itemId
: int
-
setItemTypeId()
public
setItemTypeId(int $itemTypeId) : self
Parameters
-
$itemTypeId
: int
-