Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Represents a single Technorati KeyInfo query result object.
It provides information about your Technorati API Key daily usage.

__construct(
\DomElement $dom, string $apiKey
=
null
)
:
void
Constructs a new object from DOM Element.
Parses given Key element from $dom and sets API key string.
Name | Type | Description |
---|---|---|
$dom | \DomElement | the ReST fragment for this object |
$apiKey | string | the API Key string |

getApiQueries(
)
:
int
Returns the number of queries sent today.
Type | Description |
---|---|
int | number of queries sent today |

getMaxQueries(
)
:
int
Returns Key's daily query limit.
Type | Description |
---|---|
int | maximum number of available queries per day |

setApiKey(
string $apiKey
)
:
\Zend_Service_Technorati_KeyInfoResult
Sets API Key string.
Name | Type | Description |
---|---|---|
$apiKey | string | the API Key |
Type | Description |
---|---|
\Zend_Service_Technorati_KeyInfoResult | $this instance |