- Zend_Service_Technorati_ResultSet
- Zend_Service_Technorati_CosmosResultSet
- Zend_Service_Technorati_SearchResultSet
- Zend_Service_Technorati_TagResultSet
- Zend_Service_Technorati_DailyCountsResultSet
- Zend_Service_Technorati_TagsResultSet
- Zend_Service_Technorati_Result
- Zend_Service_Technorati_CosmosResult
- Zend_Service_Technorati_SearchResult
- Zend_Service_Technorati_TagResult
- Zend_Service_Technorati_DailyCountsResult
- Zend_Service_Technorati_TagsResult
- Zend_Service_Technorati_GetInfoResult
- Zend_Service_Technorati_BlogInfoResult
- Zend_Service_Technorati_KeyInfoResult
The following classes are returned by the various Technorati queries. Each
Zend_Service_Technorati_*ResultSet class holds a type-specific
result set which can be easily iterated, with each result being contained in a type
result object. All result set classes extend
Zend_Service_Technorati_ResultSet class and implement the
SeekableIterator interface, allowing for easy iteration and
seeking to a specific result.
Note
Zend_Service_Technorati_GetInfoResult,
Zend_Service_Technorati_BlogInfoResult and
Zend_Service_Technorati_KeyInfoResult represent exceptions to
the above because they don't belong to a result set and they don't implement any
interface. They represent a single response object and they act as a wrapper for
additional Zend_Service_Technorati objects, such as
Zend_Service_Technorati_Author and
Zend_Service_Technorati_Weblog.
The Zend_Service_Technorati library includes additional
convenient classes representing specific response objects.
Zend_Service_Technorati_Author represents a single Technorati
account, also known as a blog author or blogger.
Zend_Service_Technorati_Weblog represents a single weblog object,
along with all specific weblog properties such as feed URLs or blog
name. For full details please see Zend_Service_Technorati in the
API reference guide.
Zend_Service_Technorati_ResultSet is the most essential
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.
Zend_Service_Technorati_ResultSet implements the
PHP SeekableIterator interface, and you
can iterate all result objects via the PHP
foreach() statement.
Example 838. Iterating result objects from a resultset collection
<?php
// run a simple query
$technorati = new Zend_Service_Technorati('VALID_API_KEY');
$resultSet = $technorati->search('php');
// $resultSet is now an instance of
// Zend_Service_Technorati_SearchResultSet
// it extends Zend_Service_Technorati_ResultSet
foreach ($resultSet as $result) {
// do something with your
// Zend_Service_Technorati_SearchResult object
}
Zend_Service_Technorati_CosmosResultSet represents a
Technorati Cosmos query result set.
Note
Zend_Service_Technorati_CosmosResultSet extends Zend_Service_Technorati_ResultSet.
Zend_Service_Technorati_SearchResultSet represents a
Technorati Search query result set.
Note
Zend_Service_Technorati_SearchResultSet extends Zend_Service_Technorati_ResultSet.
Zend_Service_Technorati_TagResultSet represents a Technorati
Tag query result set.
Note
Zend_Service_Technorati_TagResultSet extends Zend_Service_Technorati_ResultSet.
Zend_Service_Technorati_DailyCountsResultSet represents a
Technorati DailyCounts query result set.
Note
Zend_Service_Technorati_DailyCountsResultSet extends
Zend_Service_Technorati_ResultSet.
Zend_Service_Technorati_TagsResultSet represents a Technorati
TopTags or BlogPostTags queries result set.
Note
Zend_Service_Technorati_TagsResultSet extends
Zend_Service_Technorati_ResultSet.
Zend_Service_Technorati_Result is the most essential result
object. The scope of this class is to be extended by a query specific child result
class, and it should never be used to initialize a standalone object.
Zend_Service_Technorati_CosmosResult represents a single
Technorati Cosmos query result object. It is never returned as a standalone object,
but it always belongs to a valid Zend_Service_Technorati_CosmosResultSet
object.
Note
Zend_Service_Technorati_CosmosResult extends Zend_Service_Technorati_Result.
Zend_Service_Technorati_SearchResult represents a single
Technorati Search query result object. It is never returned as a standalone object,
but it always belongs to a valid Zend_Service_Technorati_SearchResultSet
object.
Note
Zend_Service_Technorati_SearchResult extends Zend_Service_Technorati_Result.
Zend_Service_Technorati_TagResult represents a single
Technorati Tag query result object. It is never returned as a standalone object, but
it always belongs to a valid Zend_Service_Technorati_TagResultSet
object.
Note
Zend_Service_Technorati_TagResult extends Zend_Service_Technorati_Result.
Zend_Service_Technorati_DailyCountsResult represents a single
Technorati DailyCounts query result object. It is never returned as a standalone
object, but it always belongs to a valid Zend_Service_Technorati_DailyCountsResultSet
object.
Note
Zend_Service_Technorati_DailyCountsResult extends Zend_Service_Technorati_Result.
Zend_Service_Technorati_TagsResult represents a single
Technorati TopTags or BlogPostTags query result object. It is never returned as a
standalone object, but it always belongs to a valid Zend_Service_Technorati_TagsResultSet
object.
Note
Zend_Service_Technorati_TagsResult extends Zend_Service_Technorati_Result.
Zend_Service_Technorati_GetInfoResult represents a single
Technorati GetInfo query result object.
Zend_Service_Technorati_BlogInfoResult represents a single
Technorati BlogInfo query result object.
Zend_Service_Technorati_KeyInfoResult represents a single
Technorati KeyInfo query result object. It provides information about your
Technorati
API Key daily usage.




