API Documentation

Service/Technorati/KeyInfoResult.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
Technorati
version
$Id: KeyInfoResult.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Service_Technorati_KeyInfoResult

Description

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.

Zend_Service_Technorati_KeyInfoResult

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
Technorati
Properties
$_apiKey
$_apiQueries
$_maxQueries
Methods
__construct
getApiKey
getApiQueries
getMaxQueries
setApiKey

Description

Represents a single Technorati KeyInfo query result object.

It provides information about your Technorati API Key daily usage.

Properties

$_apiKey

string $_apiKey = ''

Technorati API key

Details

$_apiKey
string
visibility
protected
default
final
false
static
false
access
protected

$_apiQueries

int $_apiQueries = ''

Number of queries used today

Details

$_apiQueries
int
visibility
protected
default
final
false
static
false
access
protected

$_maxQueries

int $_maxQueries = ''

Total number of available queries per day

Details

$_maxQueries
int
visibility
protected
default
final
false
static
false
access
protected

Methods

__construct

__construct( DomElement $dom, string $apiKey = null ) :

Constructs a new object from DOM Element.

Parses given Key element from $dom and sets API key string.

Arguments
$dom
DomElement
the ReST fragment for this object
$apiKey
string
the API Key string
Details
visibility
public
final
false
static
false

getApiKey

getApiKey( ) : string

Returns API Key string.

Output
string
API Key string
Details
visibility
public
final
false
static
false

getApiQueries

getApiQueries( ) : int

Returns the number of queries sent today.

Output
int
number of queries sent today
Details
visibility
public
final
false
static
false

getMaxQueries

getMaxQueries( ) : int

Returns Key's daily query limit.

Output
int
maximum number of available queries per day
Details
visibility
public
final
false
static
false

setApiKey

setApiKey( string $apiKey ) : Zend_Service_Technorati_KeyInfoResult

Sets API Key string.

Arguments
$apiKey
string
the API Key
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.