ContentBlockDto extends Dto
FinalYes
Table of Contents
Constants
- TYPE_DEADLINE = 'deadline'
- TYPE_LARGE_TEXT = 'largeText'
- TYPE_LINE_OF_BLOCKS = 'lineOfBlocks'
- TYPE_LINK = 'link'
- TYPE_TEXT = 'text'
- TYPE_WITH_TITLE = 'withTitle'
Properties
- $properties : BaseContentBlockDto|null
- $type : string|null
Methods
- __clone() : void
- __construct() : mixed
- __get() : mixed
- __set() : void
- __unset() : void
- getCastByPropertyName() : Caster|null
- getName() : string
- getValidationErrors() : ErrorCollection
- hasValidationErrors() : bool
- jsonSerialize() : mixed
- toArray() : array<string|int, mixed>
Constants
TYPE_DEADLINE
public
mixed
TYPE_DEADLINE
= 'deadline'
TYPE_LARGE_TEXT
public
mixed
TYPE_LARGE_TEXT
= 'largeText'
TYPE_LINE_OF_BLOCKS
public
mixed
TYPE_LINE_OF_BLOCKS
= 'lineOfBlocks'
TYPE_LINK
public
mixed
TYPE_LINK
= 'link'
TYPE_TEXT
public
mixed
TYPE_TEXT
= 'text'
TYPE_WITH_TITLE
public
mixed
TYPE_WITH_TITLE
= 'withTitle'
Properties
$properties
public
BaseContentBlockDto|null
$properties
= null
$type
public
string|null
$type
= null
Methods
__clone()
public
__clone() : void
__construct()
public
__construct([array<string|int, mixed>|null $fields = null ]) : mixed
Parameters
- $fields : array<string|int, mixed>|null = null
__get()
public
__get(string $fieldName) : mixed
Parameters
- $fieldName : string
__set()
public
__set(string $fieldName, mixed $value) : void
Parameters
- $fieldName : string
- $value : mixed
__unset()
public
__unset(string $fieldName) : void
Parameters
- $fieldName : string
getCastByPropertyName()
public
getCastByPropertyName(string $propertyName) : Caster|null
Parameters
- $propertyName : string
Return values
Caster|nullgetName()
public
getName() : string
Return values
stringgetValidationErrors()
public
getValidationErrors() : ErrorCollection
Return values
ErrorCollectionhasValidationErrors()
public
hasValidationErrors() : bool
Return values
booljsonSerialize()
public
jsonSerialize() : mixed
Return values
mixed —- mixed because of \Bitrix\Crm\Activity\Entity\ConfigurableRestApp\Dto\TextWithTranslationDto::jsonSerialize
toArray()
public
toArray() : array<string|int, mixed>