Bitrix API

MessageParam extends DataBroker

Class data store.

Table of Contents

Methods

create()  : EntityObject|null
Returns empty entity object.
get()  : EO_MessageParam
Returns entity object by it's primary id.
getInstance()  : self
has()  : bool
Checks whether the broker with code exists.
query()  : Query
Returns broker by code.
register()  : void
Adds config of broker to locator.
save()  : Result

Methods

create()

Returns empty entity object.

public create([string $type = 'default' ]) : EntityObject|null
Parameters
$type : string = 'default'

return ORM\Query\Result

Return values
EntityObject|null

get()

Returns entity object by it's primary id.

public get(mixed $primaryId[, string $type = = '\'default\'' ]) : EO_MessageParam
Parameters
$primaryId : mixed
$type : string = = '\'default\''

return ORM\Query\Result

Return values
EO_MessageParam

getInstance()

public static getInstance() : self
Return values
self

has()

Checks whether the broker with code exists.

public has([string $type = 'default' ]) : bool
Parameters
$type : string = 'default'
Return values
bool

query()

Returns broker by code.

public query([string $type = 'default' ]) : Query
Parameters
$type : string = 'default'
Tags
throws
ObjectNotFoundException
Return values
Query

register()

Adds config of broker to locator.

public register(string|Closure $config[, string $type = 'default' ]) : void
Parameters
$config : string|Closure
$type : string = 'default'

save()

public save(EO_MessageParam $object[, string $type = = '\'default\'' ]) : Result
Parameters
$object : EO_MessageParam
$type : string = = '\'default\''
Return values
Result

        
On this page

Search results