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.
Represents a Weblog object successful recognized by Technorati.

null|\Zend_Uri_Http
$_atomUrl= ''
Atom feed URL, if any.

array
$_authors= 'array()'
An array of Zend_Service_Technorati_Author who claimed this blog
array()
Details
bool
$_hasPhoto= 'false'
Whether the author who claimed this weblog has a photo.
Note. This property has no official documentation.
false
Details
integer
$_inboundBlogs= ''
Number of unique blogs linking this blog.

integer
$_inboundLinks= ''
Number of incoming links to this blog.

null|\Zend_Date
$_lastUpdate= ''
Last blog update UNIX timestamp.

float
$_lat= ''
Blog latitude coordinate.
Note. This property has no official documentation.

float
$_lon= ''
Blog longitude coordinate.
Note. This property has no official documentation.

integer
$_rank= ''
Technorati rank value for this weblog.
Note. This property has no official documentation.

null|\Zend_Uri_Http
$_rssUrl= ''
RSS feed URL, if any.

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

getAtomUrl(
)
:
null|\Zend_Uri_Http
Returns weblog Atom URL.
Type | Description |
---|---|
null|\Zend_Uri_Http | object representing the URL of the Atom feed for given blog |

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

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

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

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

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

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

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

getRssUrl(
)
:
null|\Zend_Uri_Http
Returns weblog Rss URL.
Type | Description |
---|---|
null|\Zend_Uri_Http | object representing the URL of the RSS feed for given blog |

getUrl(
)
:
null|\Zend_Uri_Http
Returns weblog URL.
Type | Description |
---|---|
null|\Zend_Uri_Http | object representing weblog base URL |

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

setAtomUrl(
string|\Zend_Uri_Http $url
)
:
\Zend_Service_Technorati_Weblog
Sets weblog Atom URL.
Name | Type | Description |
---|---|---|
$url | string|\Zend_Uri_Http |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |
Exception | Description |
---|---|
\Zend_Service_Technorati_Exception | if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp) |

setHasPhoto(
bool $hasPhoto
)
:
\Zend_Service_Technorati_Weblog
Sets hasPhoto property.
Name | Type | Description |
---|---|---|
$hasPhoto | bool |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |

setInboundBlogs(
integer $number
)
:
\Zend_Service_Technorati_Weblog
Sets number of inbound blogs.
Name | Type | Description |
---|---|---|
$number | integer |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |

setInboundLinks(
integer $number
)
:
\Zend_Service_Technorati_Weblog
Sets number of Iinbound links.
Name | Type | Description |
---|---|---|
$number | integer |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |

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

setLat(
float $coordinate
)
:
\Zend_Service_Technorati_Weblog
Sets weblog latitude coordinate.
Name | Type | Description |
---|---|---|
$coordinate | float |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |

setLon(
float $coordinate
)
:
\Zend_Service_Technorati_Weblog
Sets weblog longitude coordinate.
Name | Type | Description |
---|---|---|
$coordinate | float |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |

setName(
string $name
)
:
\Zend_Service_Technorati_Weblog
Sets weblog name.
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |

setRank(
integer $rank
)
:
\Zend_Service_Technorati_Weblog
Sets weblog Rank.
Name | Type | Description |
---|---|---|
$rank | integer |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |

setRssUrl(
string|\Zend_Uri_Http $url
)
:
\Zend_Service_Technorati_Weblog
Sets weblog Rss URL.
Name | Type | Description |
---|---|---|
$url | string|\Zend_Uri_Http |
Type | Description |
---|---|
\Zend_Service_Technorati_Weblog | $this instance |
Exception | Description |
---|---|
\Zend_Service_Technorati_Exception | if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp) |

setUrl(
string|\Zend_Uri_Http $url
)
:
void
Sets weblog URL.
Name | Type | Description |
---|---|---|
$url | string|\Zend_Uri_Http |
Exception | Description |
---|---|
\Zend_Service_Technorati_Exception | if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp) |