Download the PHP package widefocus/feed-source without Composer
On this page you can find all versions of the php package widefocus/feed-source. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download widefocus/feed-source
More information about widefocus/feed-source
Files in widefocus/feed-source
Package feed-source
Short Description This package contains models to supply feed data.
License MIT
Informations about the package feed-source
WideFocus Feed Source
This package contains models to use a feed source.
Identity source
An identity source provides identities. This would most likely be a list of primary keys from a database.
Value source
A value source provides the values for identities. The values are fetched for a single attribute.
Source conditions
Identities can be filtered by conditions. A condition decides based on the identity whether an item should be used in a feed. It collects the item data by itself, for example using a value source.
Use SourceConditionCombination
to create a combination of conditions.
Source fields
A source field provides a feed item with data. It always gets the data of just one attribute. It is able to get the data by itself, for example using a value source.
Use SourceFieldCombinationInterface
to create a combination of fields.
Source iterators
This package provides a number of iterators that apply conditions and fields on a source.
Identity source iterator
The identity source iterator iterates over the values of an identity source.
Validated identity iterator
The validated identity iterator validates identities according to conditions while iterating over them. It only returns the identities which comply to the conditions.
Identity to item iterator
The identity to item iterator iterates converts identities to items with values while iterating over them. The returned items are instances of ArrayAccess.
Combined iterator
A combined iterator can be created with the source iterator factory. It returns an iterator that gets values from an identity source, validates them and converts them to items with values.