Bitrix API

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_LINE_OF_BLOCKS

public mixed TYPE_LINE_OF_BLOCKS = 'lineOfBlocks'

Properties

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|null

getName()

public getName() : string
Return values
string

getValidationErrors()

public getValidationErrors() : ErrorCollection
Return values
ErrorCollection

hasValidationErrors()

public hasValidationErrors() : bool
Return values
bool

jsonSerialize()

public jsonSerialize() : mixed
Return values
mixed
  • mixed because of \Bitrix\Crm\Activity\Entity\ConfigurableRestApp\Dto\TextWithTranslationDto::jsonSerialize

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results