Service/Technorati/KeyInfoResult.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Technorati
- Version
- $Id$
\Zend_Service_Technorati_KeyInfoResult
Package: Zend_Service\Technorati
Represents a single Technorati KeyInfo query result object.
It provides information about your Technorati API Key daily usage.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__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.
ParametersName | 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.
Returns
Type | Description |
---|---|
int | number of queries sent today |
getMaxQueries() : int
Returns Key's daily query limit.
Returns
Type | Description |
---|---|
int | maximum number of available queries per day |
setApiKey(string $apiKey) : \Zend_Service_Technorati_KeyInfoResult
Sets API Key string.
Parameters
Returns
Name | Type | Description |
---|---|---|
$apiKey | string | the API Key |
Type | Description |
---|---|
\Zend_Service_Technorati_KeyInfoResult | $this instance |