Bitrix API

Event extends Mapper

Table of Contents

Constants

NEGATIVE_ANSWER  = 'N'
POSITIVE_ANSWER  = 'Y'

Methods

convertToArray()  : array<string|int, mixed>
create()  : EntityInterface|Event|Connection|Section|SectionConnection|EventConnection
delete()  : object|null
deleteByFilter()  : $this
deleteMap()  : void
getByArray()  : Event|mixed
getByEntityObject()  : EntityInterface|null
getById()  : EntityInterface|null
getCollectionByIds()  : EventCollection
getEntity()  : Event|null
getMap()  : Map
getMapFullChainByParentId()  : EventMap
patch()  : Event
resetCacheById()  : $this
update()  : Event

Constants

NEGATIVE_ANSWER

public mixed NEGATIVE_ANSWER = 'N'

POSITIVE_ANSWER

public mixed POSITIVE_ANSWER = 'Y'

Methods

convertToArray()

public convertToArray(Event $event) : array<string|int, mixed>
Parameters
$event : Event
Tags
throws
PropertyException
Return values
array<string|int, mixed>

delete()

public delete(EntityInterface $entity[, array<string|int, mixed> $params = ['softDelete' => true] ]) : object|null
Parameters
$entity : EntityInterface
$params : array<string|int, mixed> = ['softDelete' => true]
Return values
object|null

deleteByFilter()

public deleteByFilter(mixed $filter[, array<string|int, mixed> $params = ['softDelete' => true] ]) : $this
Parameters
$filter : mixed
$params : array<string|int, mixed> = ['softDelete' => true]
Tags
throws
ArgumentException
throws
SystemException
Return values
$this

deleteMap()

public deleteMap(EntityMap $map[, array<string|int, mixed> $params = ['softDelete' => true] ]) : void
Parameters
$map : EntityMap
$params : array<string|int, mixed> = ['softDelete' => true]
Tags
throws
BaseException

getByArray()

public getByArray(array<string|int, mixed> $fields) : Event|mixed
Parameters
$fields : array<string|int, mixed>
Tags
throws
ArgumentException
Return values
Event|mixed

getByEntityObject()

public getByEntityObject(mixed $entityObject) : EntityInterface|null
Parameters
$entityObject : mixed
Tags
throws
ArgumentException
Return values
EntityInterface|null

getCollectionByIds()

public getCollectionByIds(array<string|int, mixed> $ids, int $ownerId[, array<string|int, mixed> $fields = ['*'] ]) : EventCollection

is it unused?

Parameters
$ids : array<string|int, mixed>
$ownerId : int
$fields : array<string|int, mixed> = ['*']
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
EventCollection

getEntity()

public getEntity(int $id[, array<string|int, mixed>|null $additionalParams = null ]) : Event|null
Parameters
$id : int
$additionalParams : array<string|int, mixed>|null = null
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
Event|null

getMap()

public getMap(array<string|int, mixed> $filter[, int|null $limit = null ][, array<string|int, mixed>|null $order = null ]) : Map
Parameters
$filter : array<string|int, mixed>
$limit : int|null = null
$order : array<string|int, mixed>|null = null
Tags
throws
ArgumentException
throws
SystemException
Return values
Map

getMapFullChainByParentId()

public getMapFullChainByParentId(int $id, int $ownerId[, array<string|int, mixed> $fields = ['*'] ]) : EventMap
Parameters
$id : int
$ownerId : int
$fields : array<string|int, mixed> = ['*']
Tags
throws
ObjectException
throws
ObjectPropertyException
throws
ArgumentException
throws
SystemException
Return values
EventMap

resetCacheById()

public resetCacheById(int $id) : $this
Parameters
$id : int
Return values
$this

        
On this page

Search results