Service/Technorati/TagResult.php
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: TagResult.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_Technorati_TagResult
It is never returned as a standalone object, but it always belongs to a valid Zend_Service_Technorati_TagResultSet 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


\DomElement $_dom
- Type
- \DomElement
- Access
- protected
- Inherited_from
- \Zend_Service_Technorati_Result::$$_dom


array $_fields
- Type
- array
- Access
- protected
- Inherited_from
- \Zend_Service_Technorati_Result::$$_fields


\Zend_Date $_updated
Called 'postupdate' in original XML response, it has been renamed to provide more coherence.
- Type
- \Zend_Date
- Access
- protected


\Zend_Service_Technorati_Weblog $_weblog
- Type
- \Zend_Service_Technorati_Weblog
- Access
- protected


\DOMXpath $_xpath
- Type
- \DOMXpath
- Access
- protected
- Inherited_from
- \Zend_Service_Technorati_Result::$$_xpath
Methods


__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.
Name | Type | Description |
---|---|---|
$dom | \DomElement | the ReST fragment for this object |


_parseWeblog() : void
Parses weblog node and sets weblog object.
Inherited from: \Zend_Service_Technorati_Result::_parseWeblog()

getCreated() : \Zend_Date
Returns the datetime the entry was created.
Type | Description |
---|---|
\Zend_Date |


getExcerpt() : string
Returns the blurb from entry with search term highlighted.
Type | Description |
---|---|
string |


getPermalink() : \Zend_Uri_Http
Returns the permalink of the blog entry.
Type | Description |
---|---|
\Zend_Uri_Http |


getUpdated() : \Zend_Date
Returns the datetime the entry was updated.
Type | Description |
---|---|
\Zend_Date |


getWeblog() : \Zend_Service_Technorati_Weblog
Returns the weblog object that links queried URL.
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog |


getXml() : string
Returns the document fragment for this object as XML string.
Inherited from: \Zend_Service_Technorati_Result::getXml()Type | Description |
---|---|
string | the document fragment for this object converted into XML format |