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
public
mixed
EXCLUDED_DATE_FORMAT
= 'd.m.Y'
__construct()
public
__construct([array<string|int, mixed> $collection = [] ]) : mixed
Parameters
-
$collection
: array<string|int, mixed>
= []
-
__toString()
public
__toString() : string
add()
public
add(mixed $item) : $this
Parameters
-
$item
: mixed
-
addItems()
public
addItems(array<string|int, mixed> $items) : $this
Parameters
-
$items
: array<string|int, mixed>
-
count()
public
count() : int
fetch()
public
fetch() : mixed
-
throws
-
BaseException
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'
-
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
-
removeDateFromCollection()
public
removeDateFromCollection(Date $date) : void
Parameters
-
$date
: Date
-
rewindGenerator()
public
rewindGenerator() : void
toString()
public
toString([string $separator = ';' ]) : string
Parameters
-
$separator
: string
= ';'
-