PHP Class Swiftriver\Core\DAL\Repositories\SourceRepository

Author: mg[at]swiftly[dot]org
Afficher le fichier Open project: ushahidi/Swiftriver-2011

Méthodes publiques

Méthode 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 méthode

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

ListAllSources() public méthode

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

__construct() public méthode

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