Service/Technorati/CosmosResultSet.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 license@zend.com 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_CosmosResultSet
Package: Zend_Service\Technorati
Represents a Technorati Cosmos query result set.
The scope of this class is to be extended by a query-specific child result set class,
and it should never be used to initialize a standalone object.
Each of the specific result sets represents a collection of query-specific
Zend_Service_Technorati_Result objects.
- Parent(s)
- \Zend_Service_Technorati_ResultSet
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
\Zend_Uri_Http $_url
Technorati weblog url, if queried URL is a valid weblog.
Details
- Type
- \Zend_Uri_Http
- Access
- protected
\Zend_Service_Technorati_Weblog $_weblog
Technorati weblog, if queried URL is a valid weblog.
Details
- Type
- \Zend_Service_Technorati_Weblog
- Access
- protected
Methods
__construct(\DomDocument $dom, array $options = array()) : void
Parses the search response and retrieve the results for iteration.
Parameters
Name | Type | Description |
---|---|---|
$dom | \DomDocument | the ReST fragment for this object |
$options | array | query options as associative array |
current() : \Zend_Service_Technorati_CosmosResult
Implements Zend_Service_Technorati_ResultSet::current().
Returns
Type | Description |
---|---|
\Zend_Service_Technorati_CosmosResult | current result |
getInboundBlogs() : integer
Returns number of unique blogs linking this blog.
Returns
Type | Description |
---|---|
integer | the number of inbound blogs |
getInboundLinks() : integer
Returns number of incoming links to this blog.
Returns
Type | Description |
---|---|
integer | the number of inbound links |
getWeblog() : \Zend_Service_Technorati_Weblog
Returns the weblog.
Returns
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog |