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 = false
Whether the author who claimed this weblog has a photo.
Note. This property has no official documentation.
Default valuefalse
Details- Type
- bool
- Access
- protected
- See
-



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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