|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct (DomDocument $dom, $apiKey=null) | |
| getApiKey () | |
| getApiQueries () | |
| getMaxQueries () | |
| setApiKey ($apiKey) | |
Protected Attributes | |
| $_apiKey | |
| $_apiQueries | |
| $_maxQueries | |
Definition at line 34 of file KeyInfoResult.php.
| __construct | ( | DomDocument $ | dom, |
| $ | apiKey = null |
||
| ) |
Constructs a new object from DOM Element. Parses given Key element from $dom and sets API key string.
| DomElement | $dom | the ReST fragment for this object |
| string | $apiKey | the API Key string |
Definition at line 68 of file KeyInfoResult.php.

| getApiKey | ( | ) |
Returns API Key string.
Definition at line 85 of file KeyInfoResult.php.
| getApiQueries | ( | ) |
Returns the number of queries sent today.
Definition at line 94 of file KeyInfoResult.php.
| getMaxQueries | ( | ) |
Returns Key's daily query limit.
Definition at line 103 of file KeyInfoResult.php.
| setApiKey | ( | $ | apiKey | ) |
Sets API Key string.
| string | $apiKey | the API Key |
Definition at line 114 of file KeyInfoResult.php.

$_apiKey [protected] |
Definition at line 42 of file KeyInfoResult.php.
$_apiQueries [protected] |
Definition at line 50 of file KeyInfoResult.php.
$_maxQueries [protected] |
Definition at line 58 of file KeyInfoResult.php.