Bitrix API

ExcludedDatesCollection extends PropertyCollection

Table of Contents

Constants

EXCLUDED_DATE_FORMAT  = 'd.m.Y'

Methods

__construct()  : mixed
__toString()  : string
add()  : $this
addItems()  : $this
count()  : int
fetch()  : mixed
getCollection()  : array<string|int, mixed>
getDateCollectionNewerThanInterval()  : $this
getFields()  : array<string|int, array<string|int, mixed>>
getIterator()  : ArrayIterator
remove()  : $this
removeDateFromCollection()  : void
rewindGenerator()  : void
toString()  : string

Constants

Methods

__construct()

public __construct([array<string|int, mixed> $collection = [] ]) : mixed
Parameters
$collection : array<string|int, mixed> = []

add()

public add(mixed $item) : $this
Parameters
$item : mixed
Return values
$this

addItems()

public addItems(array<string|int, mixed> $items) : $this
Parameters
$items : array<string|int, mixed>
Return values
$this

getCollection()

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

getDateCollectionNewerThanInterval()

public getDateCollectionNewerThanInterval([string $interval = '1 month' ]) : $this
Parameters
$interval : string = '1 month'
Return values
$this

getFields()

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

getIterator()

public getIterator() : ArrayIterator
Return values
ArrayIterator

remove()

public remove(mixed $key) : $this
Parameters
$key : mixed
Return values
$this

rewindGenerator()

public rewindGenerator() : void

toString()

public toString([string $separator = ';' ]) : string
Parameters
$separator : string = ';'
Return values
string

        
On this page

Search results