API Documentation

Service/Technorati/Weblog.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
Technorati
version
$Id: Weblog.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Service_Technorati_Weblog

Description

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.

Zend_Service_Technorati_Weblog

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
Technorati
Properties
$_name
$_url
$_rssUrl
$_atomUrl
$_inboundBlogs
$_inboundLinks
$_lastUpdate
$_rank
$_lat
$_lon
$_hasPhoto
$_authors
Methods
__construct
getName
getUrl
getInboundBlogs
getInboundLinks
getRssUrl
getAtomUrl
getLastUpdate
getRank
getLat
getLon
hasPhoto
getAuthors
setName
setUrl
setInboundBlogs
setInboundLinks
setRssUrl
setAtomUrl
setLastUpdate
setRank
setLat
setLon
setHasPhoto

Description

Represents a Weblog object successful recognized by Technorati.

Properties

$_atomUrl

null|Zend_Uri_Http $_atomUrl = ''

Atom feed URL, if any.

Details

$_atomUrl
null|Zend_Uri_Http
visibility
protected
default
final
false
static
false
access
protected

$_authors

array $_authors = 'array'

An array of Zend_Service_Technorati_Author who claimed this blog

Details

$_authors
array
visibility
protected
default
array
final
false
static
false
access
protected

$_hasPhoto

bool $_hasPhoto = 'false'

Whether the author who claimed this weblog has a photo.

Note. This property has no official documentation.

Details

$_hasPhoto
bool
visibility
protected
default
false
final
false
static
false
access
protected
see
Zend_Service_Technorati_Author::$thumbnailPicture

$_inboundBlogs

integer $_inboundBlogs = ''

Number of unique blogs linking this blog.

Details

$_inboundBlogs
integer
visibility
protected
default
final
false
static
false
access
protected

$_inboundLinks

integer $_inboundLinks = ''

Number of incoming links to this blog.

Details

$_inboundLinks
integer
visibility
protected
default
final
false
static
false
access
protected

$_lastUpdate

null|Zend_Date $_lastUpdate = ''

Last blog update UNIX timestamp.

Details

$_lastUpdate
null|Zend_Date
visibility
protected
default
final
false
static
false
access
protected

$_lat

float $_lat = ''

Blog latitude coordinate.

Note. This property has no official documentation.

Details

$_lat
float
visibility
protected
default
final
false
static
false
access
protected

$_lon

float $_lon = ''

Blog longitude coordinate.

Note. This property has no official documentation.

Details

$_lon
float
visibility
protected
default
final
false
static
false
access
protected

$_name

string $_name = ''

Blog name as written in the feed.

Details

$_name
string
visibility
protected
default
final
false
static
false
access
protected

$_rank

integer $_rank = ''

Technorati rank value for this weblog.

Note. This property has no official documentation.

Details

$_rank
integer
visibility
protected
default
final
false
static
false
access
protected

$_rssUrl

null|Zend_Uri_Http $_rssUrl = ''

RSS feed URL, if any.

Details

$_rssUrl
null|Zend_Uri_Http
visibility
protected
default
final
false
static
false
access
protected

$_url

Zend_Uri_Http $_url = ''

Base blog URL.

Details

$_url
Zend_Uri_Http
visibility
protected
default
final
false
static
false
access
protected

Methods

__construct

__construct( DomElement $dom ) :

Constructs a new object from DOM Element.

Arguments
$dom
DomElement
the ReST fragment for this object
Details
visibility
public
final
false
static
false

getAtomUrl

getAtomUrl( ) : null|Zend_Uri_Http

Returns weblog Atom URL.

Output
null|Zend_Uri_Http
object representing the URL of the Atom feed for given blog
Details
visibility
public
final
false
static
false

getAuthors

getAuthors( ) : array

Returns the array of weblog authors.

Output
array
of Zend_Service_Technorati_Author authors
Details
visibility
public
final
false
static
false

getInboundBlogs

getInboundBlogs( ) : integer

Returns number of unique blogs linking this blog.

Output
integer
the number of inbound blogs
Details
visibility
public
final
false
static
false

getInboundLinks

getInboundLinks( ) : integer

Returns number of incoming links to this blog.

Output
integer
the number of inbound links
Details
visibility
public
final
false
static
false

getLastUpdate

getLastUpdate( ) : integer

Returns UNIX timestamp of the last weblog update.

Output
integer
UNIX timestamp of the last weblog update
Details
visibility
public
final
false
static
false

getLat

getLat( ) : float

Returns weblog latitude coordinate.

Note. This property is not documented.

Output
float
weblog latitude coordinate
Details
visibility
public
final
false
static
false

getLon

getLon( ) : float

Returns weblog longitude coordinate.

Note. This property is not documented.

Output
float
weblog longitude coordinate
Details
visibility
public
final
false
static
false

getName

getName( ) : string

Returns weblog name.

Output
string
Weblog name
Details
visibility
public
final
false
static
false

getRank

getRank( ) : integer

Returns weblog rank value.

Note. This property is not documented.

Output
integer
weblog rank value
Details
visibility
public
final
false
static
false

getRssUrl

getRssUrl( ) : null|Zend_Uri_Http

Returns weblog Rss URL.

Output
null|Zend_Uri_Http
object representing the URL of the RSS feed for given blog
Details
visibility
public
final
false
static
false

getUrl

getUrl( ) : null|Zend_Uri_Http

Returns weblog URL.

Output
null|Zend_Uri_Http
object representing weblog base URL
Details
visibility
public
final
false
static
false

hasPhoto

hasPhoto( ) : bool

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

Note. This property is not documented.

Output
bool
TRUE if the author who claimed this weblog has a photo, FALSE otherwise.
Details
visibility
public
final
false
static
false

setAtomUrl

setAtomUrl( string|Zend_Uri_Http $url ) : Zend_Service_Technorati_Weblog

Sets weblog Atom URL.

Arguments
$url
stringZend_Uri_Http
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false
throws
if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)

setHasPhoto

setHasPhoto( bool $hasPhoto ) : Zend_Service_Technorati_Weblog

Sets hasPhoto property.

Arguments
$hasPhoto
bool
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false

setInboundBlogs

setInboundBlogs( integer $number ) : Zend_Service_Technorati_Weblog

Sets number of inbound blogs.

Arguments
$number
integer
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false

setInboundLinks

setInboundLinks( integer $number ) : Zend_Service_Technorati_Weblog

Sets number of Iinbound links.

Arguments
$number
integer
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false

setLastUpdate

setLastUpdate( mixed $datetime ) : Zend_Service_Technorati_Weblog

Sets weblog Last Update timestamp.

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

Arguments
$datetime
mixed
A string representing the last update date time in a valid date time format
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false
throws

setLat

setLat( float $coordinate ) : Zend_Service_Technorati_Weblog

Sets weblog latitude coordinate.

Arguments
$coordinate
float
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false

setLon

setLon( float $coordinate ) : Zend_Service_Technorati_Weblog

Sets weblog longitude coordinate.

Arguments
$coordinate
float
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false

setName

setName( string $name ) : Zend_Service_Technorati_Weblog

Sets weblog name.

Arguments
$name
string
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false

setRank

setRank( integer $rank ) : Zend_Service_Technorati_Weblog

Sets weblog Rank.

Arguments
$rank
integer
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false

setRssUrl

setRssUrl( string|Zend_Uri_Http $url ) : Zend_Service_Technorati_Weblog

Sets weblog Rss URL.

Arguments
$url
stringZend_Uri_Http
Output
Zend_Service_Technorati_Weblog
$this instance
Details
visibility
public
final
false
static
false
throws
if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)

setUrl

setUrl( string|Zend_Uri_Http $url ) : void

Sets weblog URL.

Arguments
$url
stringZend_Uri_Http
Details
visibility
public
final
false
static
false
throws
if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)
Documentation was generated by DocBlox.