PHP 클래스 Swiftriver\Core\DAL\Repositories\APIKeyRepository

저자: mg[at]swiftly[dot]org
파일 보기 프로젝트 열기: ushahidi/Swiftriver-2011

공개 메소드들

메소드 설명
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

메소드 상세

AddRegisteredAPIKey() 공개 메소드

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

IsRegisterdCoreAPIKey() 공개 메소드

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

RemoveRegisteredAPIKey() 공개 메소드

Removes a registered API key Returns true on sucess
public RemoveRegisteredAPIKey ( string $key ) : boolean
$key string
리턴 boolean

__construct() 공개 메소드

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