Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_Technorati_Weblog Class Reference

Public Member Functions

 __construct (DomElement $dom)
 getName ()
 getUrl ()
 getInboundBlogs ()
 getInboundLinks ()
 getRssUrl ()
 getAtomUrl ()
 getLastUpdate ()
 getRank ()
 getLat ()
 getLon ()
 hasPhoto ()
 getAuthors ()
 setName ($name)
 setUrl ($url)
 setInboundBlogs ($number)
 setInboundLinks ($number)
 setRssUrl ($url)
 setAtomUrl ($url)
 setLastUpdate ($datetime)
 setRank ($rank)
 setLat ($coordinate)
 setLon ($coordinate)
 setHasPhoto ($hasPhoto)

Protected Attributes

 $_name
 $_url
 $_rssUrl
 $_atomUrl
 $_inboundBlogs
 $_inboundLinks
 $_lastUpdate
 $_rank
 $_lat
 $_lon
 $_hasPhoto = false
 $_authors = array()

Detailed Description

Definition at line 44 of file Weblog.php.


Constructor & Destructor Documentation

__construct ( DomElement $  dom)

Constructs a new object from DOM Element.

Parameters:
DomElement$domthe ReST fragment for this object

The following are optional elements

I can't find any official documentation about the following properties however they are included in response DTD and/or test responses.

Definition at line 157 of file Weblog.php.

Here is the call graph for this function:


Member Function Documentation

Returns weblog Atom URL.

Returns:
null|Zend_Uri_Http object representing the URL of the Atom feed for given blog

Definition at line 269 of file Weblog.php.

Returns the array of weblog authors.

Returns:
array of Zend_Service_Technorati_Author authors

Definition at line 337 of file Weblog.php.

Returns number of unique blogs linking this blog.

Returns:
integer the number of inbound blogs

Definition at line 237 of file Weblog.php.

Returns number of incoming links to this blog.

Returns:
integer the number of inbound links

Definition at line 247 of file Weblog.php.

Returns UNIX timestamp of the last weblog update.

Returns:
integer UNIX timestamp of the last weblog update

Definition at line 279 of file Weblog.php.

getLat ( )

Returns weblog latitude coordinate.

Note. This property is not documented.

Returns:
float weblog latitude coordinate

Definition at line 303 of file Weblog.php.

getLon ( )

Returns weblog longitude coordinate.

Note. This property is not documented.

Returns:
float weblog longitude coordinate

Definition at line 314 of file Weblog.php.

getName ( )

Returns weblog name.

Returns:
string Weblog name

Definition at line 217 of file Weblog.php.

getRank ( )

Returns weblog rank value.

Note. This property is not documented.

Returns:
integer weblog rank value

Definition at line 291 of file Weblog.php.

getRssUrl ( )

Returns weblog Rss URL.

Returns:
null|Zend_Uri_Http object representing the URL of the RSS feed for given blog

Definition at line 258 of file Weblog.php.

getUrl ( )

Returns weblog URL.

Returns:
null|Zend_Uri_Http object representing weblog base URL

Definition at line 227 of file Weblog.php.

hasPhoto ( )

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

Note. This property is not documented.

Returns:
bool TRUE if the author who claimed this weblog has a photo, FALSE otherwise.

Definition at line 327 of file Weblog.php.

setAtomUrl ( url)

Sets weblog Atom URL.

Parameters:
string | Zend_Uri_Http$url
Returns:
Zend_Service_Technorati_Weblog $this instance
Exceptions:
Zend_Service_Technorati_Exceptionif $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)

Definition at line 415 of file Weblog.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setHasPhoto ( hasPhoto)

Sets hasPhoto property.

Parameters:
bool$hasPhoto
Returns:
Zend_Service_Technorati_Weblog $this instance

Definition at line 480 of file Weblog.php.

Here is the caller graph for this function:

setInboundBlogs ( number)

Sets number of inbound blogs.

Parameters:
integer$number
Returns:
Zend_Service_Technorati_Weblog $this instance

Definition at line 375 of file Weblog.php.

Here is the caller graph for this function:

setInboundLinks ( number)

Sets number of Iinbound links.

Parameters:
integer$number
Returns:
Zend_Service_Technorati_Weblog $this instance

Definition at line 387 of file Weblog.php.

Here is the caller graph for this function:

setLastUpdate ( datetime)

Sets weblog Last Update timestamp.

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

Parameters:
mixed$datetimeA string representing the last update date time in a valid date time format
Returns:
Zend_Service_Technorati_Weblog $this instance
Exceptions:
Zend_Service_Technorati_Exception

Definition at line 432 of file Weblog.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setLat ( coordinate)

Sets weblog latitude coordinate.

Parameters:
float$coordinate
Returns:
Zend_Service_Technorati_Weblog $this instance

Definition at line 456 of file Weblog.php.

Here is the caller graph for this function:

setLon ( coordinate)

Sets weblog longitude coordinate.

Parameters:
float$coordinate
Returns:
Zend_Service_Technorati_Weblog $this instance

Definition at line 468 of file Weblog.php.

Here is the caller graph for this function:

setName ( name)

Sets weblog name.

Parameters:
string$name
Returns:
Zend_Service_Technorati_Weblog $this instance

Definition at line 349 of file Weblog.php.

Here is the caller graph for this function:

setRank ( rank)

Sets weblog Rank.

Parameters:
integer$rank
Returns:
Zend_Service_Technorati_Weblog $this instance

Definition at line 444 of file Weblog.php.

Here is the caller graph for this function:

setRssUrl ( url)

Sets weblog Rss URL.

Parameters:
string | Zend_Uri_Http$url
Returns:
Zend_Service_Technorati_Weblog $this instance
Exceptions:
Zend_Service_Technorati_Exceptionif $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)

Definition at line 401 of file Weblog.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setUrl ( url)

Sets weblog URL.

Parameters:
string | Zend_Uri_Http$url
Returns:
void
Exceptions:
Zend_Service_Technorati_Exceptionif $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)

Definition at line 363 of file Weblog.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$_atomUrl [protected]

Definition at line 76 of file Weblog.php.

$_authors = array() [protected]

Definition at line 149 of file Weblog.php.

$_hasPhoto = false [protected]

Definition at line 141 of file Weblog.php.

$_inboundBlogs [protected]

Definition at line 84 of file Weblog.php.

$_inboundLinks [protected]

Definition at line 92 of file Weblog.php.

$_lastUpdate [protected]

Definition at line 100 of file Weblog.php.

$_lat [protected]

Definition at line 120 of file Weblog.php.

$_lon [protected]

Definition at line 130 of file Weblog.php.

$_name [protected]

Definition at line 52 of file Weblog.php.

$_rank [protected]

Definition at line 110 of file Weblog.php.

$_rssUrl [protected]

Definition at line 68 of file Weblog.php.

$_url [protected]

Definition at line 60 of file Weblog.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations