class FeedsCollection extends Collection

The global Feeds collection

Methods

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

Construction of a collection

read()

No description

getFeedItemIndex($url)

No description

getFeedById($id)

No description

getItemById($id)

No description

getFeedsRegistry()

No description

getFeed($url)

No description

forceRefresh($feed_url)

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 45
__construct(array|string $feeds_collection = array())

Construction of a collection

Parameters

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

Exceptions

InvalidArgumentException if the collection argument is not an array

at line 56
read()

at line 68
getFeedItemIndex($url)

Parameters

$url

at line 73
getFeedById($id)

Parameters

$id

at line 83
getItemById($id)

Parameters

$id

at line 96
getFeedsRegistry()

at line 101
getFeed($url)

Parameters

$url

at line 127
forceRefresh($feed_url)

Parameters

$feed_url

at line 144
getItemsCount()

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

Parameters

$limit
$offset

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

Parameters

$limit
$offset

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

Parameters

$category
$limit
$offset