PHP Class Swiftriver\Core\DAL\Repositories\SourceRepository

Author: mg[at]swiftly[dot]org
Show file Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
GetSourcesById ( string[] $ids ) : Source[] Given the IDs of Sources, this method gets them from the underlying data store
ListAllSources ( ) : Source[] Lists all the current Source in the core
__construct ( string $dataContext = null ) The constructor for this repository Accepts the fully qulaified type of the IAPIKeyDataContext implemting data context for this repository

Method Details

GetSourcesById() public method

Given the IDs of Sources, this method gets them from the underlying data store
public GetSourcesById ( string[] $ids ) : Source[]
$ids string[]
return Swiftriver\Core\ObjectModel\Source[]

ListAllSources() public method

Lists all the current Source in the core
public ListAllSources ( ) : Source[]
return Swiftriver\Core\ObjectModel\Source[]

__construct() public method

The constructor for this repository Accepts the fully qulaified type of the IAPIKeyDataContext implemting data context for this repository
public __construct ( string $dataContext = null )
$dataContext string