Service/Technorati/Weblog.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_Weblog
Package: Zend_Service\TechnoratiRepresents a Weblog object successful recognized by Technorati.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties



array $_authors = array()An array of Zend_Service_Technorati_Author who claimed this blog
Default valuearray()Details- Type
- array
- Access
- protected



bool $_hasPhoto = falseWhether the author who claimed this weblog has a photo.
Note. This property has no official documentation.
Default valuefalseDetails- Type
- bool
- Access
- protected
- See
-



integer $_inboundBlogsNumber of unique blogs linking this blog.
Details- Type
- integer
- Access
- protected



integer $_inboundLinksNumber of incoming links to this blog.
Details- Type
- integer
- Access
- protected



float $_latBlog latitude coordinate.
Note. This property has no official documentation.
Details- Type
- float
- Access
- protected



float $_lonBlog longitude coordinate.
Note. This property has no official documentation.
Details- Type
- float
- Access
- protected



string $_nameBlog name as written in the feed.
Details- Type
- string
- Access
- protected



integer $_rankTechnorati rank value for this weblog.
Note. This property has no official documentation.
Details- Type
- integer
- Access
- protected
Methods



__construct(\DomElement $dom) : voidConstructs a new object from DOM Element.
Parameters| Name | Type | Description |
|---|
| $dom | \DomElement | the ReST fragment for this object |
|---|



getAuthors() : arrayReturns the array of weblog authors.
Returns| Type | Description |
|---|
| array | of Zend_Service_Technorati_Author authors |



getInboundBlogs() : integerReturns number of unique blogs linking this blog.
Returns| Type | Description |
|---|
| integer | the number of inbound blogs |



getInboundLinks() : integerReturns number of incoming links to this blog.
Returns| Type | Description |
|---|
| integer | the number of inbound links |



getLastUpdate() : integerReturns UNIX timestamp of the last weblog update.
Returns| Type | Description |
|---|
| integer | UNIX timestamp of the last weblog update |



getLat() : floatReturns weblog latitude coordinate.
Note. This property is not documented.
Returns| Type | Description |
|---|
| float | weblog latitude coordinate |



getLon() : floatReturns weblog longitude coordinate.
Note. This property is not documented.
Returns| Type | Description |
|---|
| float | weblog longitude coordinate |



getRank() : integerReturns weblog rank value.
Note. This property is not documented.
Returns| Type | Description |
|---|
| integer | weblog rank value |



hasPhoto() : boolReturns whether the author who claimed this weblog has a photo.
Note. This property is not documented.
Returns| Type | Description |
|---|
| bool | TRUE if the author who claimed this weblog has a photo,
FALSE otherwise. |



setLastUpdate(mixed $datetime) : \Zend_Service_Technorati_WeblogSets weblog Last Update timestamp.
$datetime can be any value supported by
Zend_Service_Technorati_Utils::normalizeDate().
Parameters| Name | Type | Description |
|---|
| $datetime | mixed | A string representing the last update date time
in a valid date time format |
|---|
ReturnsThrows