class ItemsCollection extends Collection

The collection handler for items

Methods

__construct(array|string $items_collection = array())

Construction of a collection

read()

No description

getItemsCount()

No description

getItems($limit = null, $offset)

No description

getItemsCategories($limit = null, $offset)

No description

getItemsCollectionByCategorie($category, $limit = null, $offset)

No description

Details

at line 43
__construct(array|string $items_collection = array())

Construction of a collection

Parameters

array|string $items_collection The array of the collection content (optional)

Exceptions

InvalidArgumentException if the collection argument is not an array

at line 54
read()

at line 65
getItemsCount()

at line 70
getItems($limit = null, $offset)

Parameters

$limit
$offset

at line 81
getItemsCategories($limit = null, $offset)

Parameters

$limit
$offset

at line 99
getItemsCollectionByCategorie($category, $limit = null, $offset)

Parameters

$category
$limit
$offset