PHP Interface Swiftriver\Core\DAL\DataContextInterfaces\IChannelDataContext

Afficher le fichier Open project: ushahidi/Swiftriver-2011

Méthodes publiques

Méthode Description
GetChannelsById ( string[] $ids ) : Channel[] Given the IDs of Channels, this method gets them from the underlying data store
ListAllChannels ( ) : Channel[] Lists all the current Channel in the core
RemoveChannels ( $id ) Given a list of IDs this method removes the Channels from the data store.
SaveChannels ( Channel[] $Channels ) Adds a list of new Channels to the data store
SelectNextDueChannel ( DateTime $time ) : Channel Given a date time, this function returns the next due Channel.

Method Details

GetChannelsById() public static méthode

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

ListAllChannels() public static méthode

Lists all the current Channel in the core
public static ListAllChannels ( ) : Channel[]
Résultat Swiftriver\Core\ObjectModel\Channel[]

RemoveChannels() public static méthode

Given a list of IDs this method removes the Channels from the data store.
public static RemoveChannels ( $id )

SaveChannels() public static méthode

Adds a list of new Channels to the data store
public static SaveChannels ( Channel[] $Channels )
$Channels Swiftriver\Core\ObjectModel\Channel[]

SelectNextDueChannel() public static méthode

Given a date time, this function returns the next due Channel.
public static SelectNextDueChannel ( DateTime $time ) : Channel
$time DateTime
Résultat Swiftriver\Core\ObjectModel\Channel