|
Moodle
2.2.1
http://www.collinsharper.com
|
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() | |
Definition at line 44 of file Weblog.php.
| __construct | ( | DomElement $ | dom | ) |
Constructs a new object from DOM Element.
| DomElement | $dom | the 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.

| getAtomUrl | ( | ) |
Returns weblog Atom URL.
Definition at line 269 of file Weblog.php.
| getAuthors | ( | ) |
Returns the array of weblog authors.
Definition at line 337 of file Weblog.php.
| getInboundBlogs | ( | ) |
Returns number of unique blogs linking this blog.
Definition at line 237 of file Weblog.php.
| getInboundLinks | ( | ) |
Returns number of incoming links to this blog.
Definition at line 247 of file Weblog.php.
| getLastUpdate | ( | ) |
Returns 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.
Definition at line 303 of file Weblog.php.
| getLon | ( | ) |
Returns weblog longitude coordinate.
Note. This property is not documented.
Definition at line 314 of file Weblog.php.
| getName | ( | ) |
| getRank | ( | ) |
Returns weblog rank value.
Note. This property is not documented.
Definition at line 291 of file Weblog.php.
| getRssUrl | ( | ) |
Returns weblog Rss URL.
Definition at line 258 of file Weblog.php.
| getUrl | ( | ) |
Returns weblog 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.
Definition at line 327 of file Weblog.php.
| setAtomUrl | ( | $ | url | ) |
Sets weblog Atom URL.
| string | Zend_Uri_Http | $url |
| Zend_Service_Technorati_Exception | if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp) |
Definition at line 415 of file Weblog.php.


| setHasPhoto | ( | $ | hasPhoto | ) |
Sets hasPhoto property.
| bool | $hasPhoto |
Definition at line 480 of file Weblog.php.

| setInboundBlogs | ( | $ | number | ) |
Sets number of inbound blogs.
| integer | $number |
Definition at line 375 of file Weblog.php.

| setInboundLinks | ( | $ | number | ) |
Sets number of Iinbound links.
| integer | $number |
Definition at line 387 of file Weblog.php.

| setLastUpdate | ( | $ | datetime | ) |
Sets weblog Last Update timestamp.
$datetime can be any value supported by Zend_Service_Technorati_Utils::normalizeDate().
| mixed | $datetime | A string representing the last update date time in a valid date time format |
| Zend_Service_Technorati_Exception |
Definition at line 432 of file Weblog.php.


| setLat | ( | $ | coordinate | ) |
Sets weblog latitude coordinate.
| float | $coordinate |
Definition at line 456 of file Weblog.php.

| setLon | ( | $ | coordinate | ) |
Sets weblog longitude coordinate.
| float | $coordinate |
Definition at line 468 of file Weblog.php.

| setName | ( | $ | name | ) |
Sets weblog name.
| string | $name |
Definition at line 349 of file Weblog.php.

| setRank | ( | $ | rank | ) |
Sets weblog Rank.
| integer | $rank |
Definition at line 444 of file Weblog.php.

| setRssUrl | ( | $ | url | ) |
Sets weblog Rss URL.
| string | Zend_Uri_Http | $url |
| Zend_Service_Technorati_Exception | if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp) |
Definition at line 401 of file Weblog.php.


| setUrl | ( | $ | url | ) |
Sets weblog URL.
| string | Zend_Uri_Http | $url |
| Zend_Service_Technorati_Exception | if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp) |
Definition at line 363 of file Weblog.php.


$_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.