Service/Technorati/Weblog.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-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\Technorati
Represents 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

>VPropertyprotectednull|\Zend_Uri_Http $_atomUrl
Atom feed URL, if any.
Details
Type
null | \Zend_Uri_Http
Access
protected  
>VPropertyprotectedarray $_authors = array()
An array of Zend_Service_Technorati_Author who claimed this blog
Default valuearray()Details
Type
array
Access
protected  
>VPropertyprotectedbool $_hasPhoto = false
Whether the author who claimed this weblog has a photo.
Note. This property has no official documentation.
Default valuefalseDetails
Type
bool
Access
protected  
See
 
>VPropertyprotectedinteger $_inboundBlogs
Number of unique blogs linking this blog.
Details
Type
integer
Access
protected  
>VPropertyprotectedinteger $_inboundLinks
Number of incoming links to this blog.
Details
Type
integer
Access
protected  
>VPropertyprotectednull|\Zend_Date $_lastUpdate
Last blog update UNIX timestamp.
Details
Type
null | \Zend_Date
Access
protected  
>VPropertyprotectedfloat $_lat
Blog latitude coordinate.
Note. This property has no official documentation.
Details
Type
float
Access
protected  
>VPropertyprotectedfloat $_lon
Blog longitude coordinate.
Note. This property has no official documentation.
Details
Type
float
Access
protected  
>VPropertyprotectedstring $_name
Blog name as written in the feed.
Details
Type
string
Access
protected  
>VPropertyprotectedinteger $_rank
Technorati rank value for this weblog.
Note. This property has no official documentation.
Details
Type
integer
Access
protected  
>VPropertyprotectednull|\Zend_Uri_Http $_rssUrl
RSS feed URL, if any.
Details
Type
null | \Zend_Uri_Http
Access
protected  
>VPropertyprotected\Zend_Uri_Http $_url
Base blog URL.
Details
Type
\Zend_Uri_Http
Access
protected  

Methods

methodpublic__construct(\DomElement $dom) : void

Constructs a new object from DOM Element.

Parameters
NameTypeDescription
$dom\DomElement

the ReST fragment for this object

methodpublicgetAtomUrl() : null | \Zend_Uri_Http

Returns weblog Atom URL.

Returns
TypeDescription
null | \Zend_Uri_Httpobject representing the URL of the Atom feed for given blog
methodpublicgetAuthors() : array

Returns the array of weblog authors.

Returns
TypeDescription
arrayof Zend_Service_Technorati_Author authors
methodpublicgetInboundBlogs() : integer

Returns number of unique blogs linking this blog.

Returns
TypeDescription
integerthe number of inbound blogs
methodpublicgetInboundLinks() : integer

Returns number of incoming links to this blog.

Returns
TypeDescription
integerthe number of inbound links
methodpublicgetLastUpdate() : integer

Returns UNIX timestamp of the last weblog update.

Returns
TypeDescription
integerUNIX timestamp of the last weblog update
methodpublicgetLat() : float

Returns weblog latitude coordinate.

Note. This property is not documented.
Returns
TypeDescription
floatweblog latitude coordinate
methodpublicgetLon() : float

Returns weblog longitude coordinate.

Note. This property is not documented.
Returns
TypeDescription
floatweblog longitude coordinate
methodpublicgetName() : string

Returns weblog name.

Returns
TypeDescription
stringWeblog name
methodpublicgetRank() : integer

Returns weblog rank value.

Note. This property is not documented.
Returns
TypeDescription
integerweblog rank value
methodpublicgetRssUrl() : null | \Zend_Uri_Http

Returns weblog Rss URL.

Returns
TypeDescription
null | \Zend_Uri_Httpobject representing the URL of the RSS feed for given blog
methodpublicgetUrl() : null | \Zend_Uri_Http

Returns weblog URL.

Returns
TypeDescription
null | \Zend_Uri_Httpobject representing weblog base URL
methodpublichasPhoto() : bool

Returns whether the author who claimed this weblog has a photo.

Note. This property is not documented.
Returns
TypeDescription
boolTRUE if the author who claimed this weblog has a photo, FALSE otherwise.
methodpublicsetAtomUrl(string | \Zend_Uri_Http $url) : \Zend_Service_Technorati_Weblog

Sets weblog Atom URL.

Parameters
NameTypeDescription
$urlstring | \Zend_Uri_Http
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
Throws
ExceptionDescription
\Zend_Service_Technorati_Exceptionif $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)
methodpublicsetHasPhoto(bool $hasPhoto) : \Zend_Service_Technorati_Weblog

Sets hasPhoto property.

Parameters
NameTypeDescription
$hasPhotobool
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
methodpublicsetInboundBlogs(integer $number) : \Zend_Service_Technorati_Weblog

Sets number of inbound blogs.

Parameters
NameTypeDescription
$numberinteger
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
methodpublicsetInboundLinks(integer $number) : \Zend_Service_Technorati_Weblog

Sets number of Iinbound links.

Parameters
NameTypeDescription
$numberinteger
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
methodpublicsetLastUpdate(mixed $datetime) : \Zend_Service_Technorati_Weblog

Sets weblog Last Update timestamp.

$datetime can be any value supported by Zend_Service_Technorati_Utils::normalizeDate().
Parameters
NameTypeDescription
$datetimemixed

A string representing the last update date time in a valid date time format

Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
Throws
ExceptionDescription
\Zend_Service_Technorati_Exception
methodpublicsetLat(float $coordinate) : \Zend_Service_Technorati_Weblog

Sets weblog latitude coordinate.

Parameters
NameTypeDescription
$coordinatefloat
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
methodpublicsetLon(float $coordinate) : \Zend_Service_Technorati_Weblog

Sets weblog longitude coordinate.

Parameters
NameTypeDescription
$coordinatefloat
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
methodpublicsetName(string $name) : \Zend_Service_Technorati_Weblog

Sets weblog name.

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
methodpublicsetRank(integer $rank) : \Zend_Service_Technorati_Weblog

Sets weblog Rank.

Parameters
NameTypeDescription
$rankinteger
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
methodpublicsetRssUrl(string | \Zend_Uri_Http $url) : \Zend_Service_Technorati_Weblog

Sets weblog Rss URL.

Parameters
NameTypeDescription
$urlstring | \Zend_Uri_Http
Returns
TypeDescription
\Zend_Service_Technorati_Weblog$this instance
Throws
ExceptionDescription
\Zend_Service_Technorati_Exceptionif $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)
methodpublicsetUrl(string | \Zend_Uri_Http $url) : void

Sets weblog URL.

Parameters
NameTypeDescription
$urlstring | \Zend_Uri_Http
Throws
ExceptionDescription
\Zend_Service_Technorati_Exceptionif $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)
Documentation was generated by phpDocumentor 2.2.0 .