PHP Class Swiftriver\Core\DAL\Repositories\APIKeyRepository

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

Méthodes publiques

Méthode Description
AddRegisteredAPIKey ( string $key ) : boolean Adds a new API key to the list of registered API Keys Returns true on sucess
IsRegisterdCoreAPIKey ( string $key ) : boolean Checks that the provided Key is registed against this install of the Core Returns true on sucess
RemoveRegisteredAPIKey ( string $key ) : boolean Removes a registered API key Returns true on sucess
__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

AddRegisteredAPIKey() public méthode

Adds a new API key to the list of registered API Keys Returns true on sucess
public AddRegisteredAPIKey ( string $key ) : boolean
$key string
Résultat boolean

IsRegisterdCoreAPIKey() public méthode

Checks that the provided Key is registed against this install of the Core Returns true on sucess
public IsRegisterdCoreAPIKey ( string $key ) : boolean
$key string
Résultat boolean

RemoveRegisteredAPIKey() public méthode

Removes a registered API key Returns true on sucess
public RemoveRegisteredAPIKey ( string $key ) : boolean
$key string
Résultat boolean

__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