API Documentation

Service/Technorati/SearchResult.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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service  
subpackage
Technorati  
version
$Id: SearchResult.php 23775 2011-03-01 17:25:24Z ralph $  

\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.

Extends from
\Zend_Service_Technorati_Result
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service  
subpackage
Technorati  

Properties

Propertyprotected\Zend_Date  $_created= ''

The datetime the entry was created.

Details
Type
\Zend_Date
access
protected  
Propertyprotectedstring  $_excerpt= ''

The blurb from entry with search term highlighted.

Details
Type
string
access
protected  
Propertyprotected\Zend_Uri_Http  $_permalink= ''

The permalink of the blog entry.

Details
Type
\Zend_Uri_Http
access
protected  
Propertyprotectedstring  $_title= ''

The title of the entry.

Details
Type
string
access
protected  
Propertyprotected\Zend_Service_Technorati_Weblog  $_weblog= ''

Technorati weblog object corresponding to queried keyword.

Details
Type
\Zend_Service_Technorati_Weblog
access
protected  

Methods

methodpublic__construct( \DomElement $dom ) : void

Constructs a new object object from DOM Element.

Properties are automatically fetched from XML according to array of $_fields to be read.

Parameters
Name Type Description
$dom \DomElement the ReST fragment for this object
methodprotected_parseWeblog( ) : void

Parses weblog node and sets weblog object.

Inherited from: \Zend_Service_Technorati_Result::_parseWeblog()
methodpublicgetCreated( ) : \Zend_Date

Returns the datetime the entry was created.

Returns
Type Description
\Zend_Date
methodpublicgetExcerpt( ) : string

Returns the blurb from entry with search term highlighted.

Returns
Type Description
string
methodpublicgetPermalink( ) : \Zend_Uri_Http

Returns the permalink of the blog entry.

Returns
Type Description
\Zend_Uri_Http
methodpublicgetTitle( ) : string

Returns the title of the entry.

Returns
Type Description
string
methodpublicgetWeblog( ) : \Zend_Service_Technorati_Weblog

Returns the weblog object that links queried URL.

Returns
Type Description
\Zend_Service_Technorati_Weblog
methodpublicgetXml( ) : string

Returns the document fragment for this object as XML string.

Inherited from: \Zend_Service_Technorati_Result::getXml()
Returns
Type Description
string the document fragment for this object converted into XML format
Documentation was generated by DocBlox 0.13.3.