Méthode |
Description |
|
__call ( String $name, array $arguments ) : Pheal\Core\Result |
Magic __call method, will translate all function calls to object to API requests |
|
__construct ( integer $userid = null, string $key = null, string $scope = 'account' ) |
creates new Pheal API object |
|
__get ( string $name ) : Pheal | null |
Magic __get method used to set scope |
|
clearAccess ( ) : void |
clear+reset keyType/accessMask |
|
detectAccess ( ) : boolean | Pheal\Core\Result |
if userid+key is given it automatically detects (api call) the keyinfo and
set the correct access level for futher checks. |
|
setAccess ( string $keyType = null, integer $accessMask ) : void |
Set keyType/accessMask |
|