Service/Technorati/CosmosResult.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service  
Subpackage
Technorati  
Version
$Id: CosmosResult.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Service_Technorati_CosmosResult

Package: Zend\Service\Technorati
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.

Parent(s)
\Zend_Service_Technorati_Result
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\DomElement $_dom
inherited
The ReST fragment for this result object
Inherited from: \Zend_Service_Technorati_Result::$$_dom
Details
Type
\DomElement
Access
protected  
Inherited_from
\Zend_Service_Technorati_Result::$$_dom  
>VPropertyprotectedstring $_excerpt
The excerpt of the blog/page linking queried URL.
Details
Type
string
Access
protected  
>VPropertyprotectedarray $_fields
inherited
An associative array of 'fieldName' => 'xmlfieldtag'
Inherited from: \Zend_Service_Technorati_Result::$$_fields
Details
Type
array
Access
protected  
Inherited_from
\Zend_Service_Technorati_Result::$$_fields  
>VPropertyprotected\Zend_Date $_linkCreated
The the datetime the link was created.
Details
Type
\Zend_Date
Access
protected  
>VPropertyprotected\Zend_Uri_Http $_linkUrl
The URL of the specific link target page
Details
Type
\Zend_Uri_Http
Access
protected  
>VPropertyprotected\Zend_Uri_Http $_nearestPermalink
The nearest permalink tracked for queried URL.
Details
Type
\Zend_Uri_Http
Access
protected  
>VPropertyprotected\Zend_Service_Technorati_Weblog $_weblog
Technorati weblog object that links queried URL.
Details
Type
\Zend_Service_Technorati_Weblog
Access
protected  
>VPropertyprotected\DOMXpath $_xpath
inherited
Object for $this->_dom
Inherited from: \Zend_Service_Technorati_Result::$$_xpath
Details
Type
\DOMXpath
Access
protected  
Inherited_from
\Zend_Service_Technorati_Result::$$_xpath  

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
NameTypeDescription
$dom\DomElement

the ReST fragment for this object

methodprotected_parseWeblog() : void
inherited

Parses weblog node and sets weblog object.

Inherited from: \Zend_Service_Technorati_Result::_parseWeblog()
methodpublicgetExcerpt() : string

Returns the excerpt of the blog/page linking queried URL.

Returns
TypeDescription
string
methodpublicgetLinkCreated() : \Zend_Date

Returns the datetime the link was created.

Returns
TypeDescription
\Zend_Date
methodpublicgetLinkUrl() : \Zend_Uri_Http

If queried URL is a valid blog, returns the URL of the specific link target page.

Returns
TypeDescription
\Zend_Uri_Http
methodpublicgetNearestPermalink() : \Zend_Uri_Http

Returns the nearest permalink tracked for queried URL.

Returns
TypeDescription
\Zend_Uri_Http
methodpublicgetWeblog() : \Zend_Service_Technorati_Weblog

Returns the weblog object that links queried URL.

Returns
TypeDescription
\Zend_Service_Technorati_Weblog
methodpublicgetXml() : string
inherited

Returns the document fragment for this object as XML string.

Inherited from: \Zend_Service_Technorati_Result::getXml()
Returns
TypeDescription
stringthe document fragment for this object converted into XML format
Documentation was generated by phpDocumentor 2.0.0a12.