Arikaim CMS

FeedsInterface

Feeds Collection interface

Table of Contents

Methods

fetch()  : FeedCollection
Fetch feed
getBaseUrl()  : string
Get base url
getItem()  : mixed
Get feed item
getItems()  : array<string|int, mixed>|null
Return feed items array
getItemsKey()  : string|null
Get items key
getUrl()  : string
Get full url

Methods

fetch()

Fetch feed

public fetch([int|null $page = null ][, int|null $perPage = null ]) : FeedCollection
Parameters
$page : int|null = null
$perPage : int|null = null
Return values
FeedCollection

getBaseUrl()

Get base url

public getBaseUrl() : string
Return values
string

getItem()

Get feed item

public getItem(int $index) : mixed
Parameters
$index : int

getItems()

Return feed items array

public getItems([bool $keyMaps = true ]) : array<string|int, mixed>|null
Parameters
$keyMaps : bool = true
Return values
array<string|int, mixed>|null

getItemsKey()

Get items key

public getItemsKey() : string|null
Return values
string|null

getUrl()

Get full url

public getUrl() : string
Return values
string

        
On this page

Search results