API Documentation

Zend/Service/Technorati/Weblog.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service  
Subpackage
Technorati  
Version
$Id: Weblog.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Service_Technorati_Weblog

Package: Zend\Service\Technorati

Represents a Weblog object successful recognized by Technorati.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectednull|\Zend_Uri_Http  $_atomUrl= ''

Atom feed URL, if any.

Details
Type
null\Zend_Uri_Http
Access
protected  
Propertyprotectedarray  $_authors= 'array()'

An array of Zend_Service_Technorati_Author who claimed this blog

Default valuearray()Details
Type
array
Access
protected  
Propertyprotectedbool  $_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
\Zend_Service_Technorati_Author::$thumbnailPicture  
Propertyprotectedinteger  $_inboundBlogs= ''

Number of unique blogs linking this blog.

Details
Type
integer
Access
protected  
Propertyprotectedinteger  $_inboundLinks= ''

Number of incoming links to this blog.

Details
Type
integer
Access
protected  
Propertyprotectednull|\Zend_Date  $_lastUpdate= ''

Last blog update UNIX timestamp.

Details
Type
null\Zend_Date
Access
protected  
Propertyprotectedfloat  $_lat= ''

Blog latitude coordinate.

Note. This property has no official documentation.

Details
Type
float
Access
protected  
Propertyprotectedfloat  $_lon= ''

Blog longitude coordinate.

Note. This property has no official documentation.

Details
Type
float
Access
protected  
Propertyprotectedstring  $_name= ''

Blog name as written in the feed.

Details
Type
string
Access
protected  
Propertyprotectedinteger  $_rank= ''

Technorati rank value for this weblog.

Note. This property has no official documentation.

Details
Type
integer
Access
protected  
Propertyprotectednull|\Zend_Uri_Http  $_rssUrl= ''

RSS feed URL, if any.

Details
Type
null\Zend_Uri_Http
Access
protected  
Propertyprotected\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
Name Type Description
$dom \DomElement

the ReST fragment for this object

methodpublicgetAtomUrl( ) : null|\Zend_Uri_Http

Returns weblog Atom URL.

Returns
Type Description
null|\Zend_Uri_Http object representing the URL of the Atom feed for given blog
methodpublicgetAuthors( ) : array

Returns the array of weblog authors.

Returns
Type Description
array of Zend_Service_Technorati_Author authors
methodpublicgetInboundBlogs( ) : integer

Returns number of unique blogs linking this blog.

Returns
Type Description
integer the number of inbound blogs
methodpublicgetInboundLinks( ) : integer

Returns number of incoming links to this blog.

Returns
Type Description
integer the number of inbound links
methodpublicgetLastUpdate( ) : integer

Returns UNIX timestamp of the last weblog update.

Returns
Type Description
integer UNIX timestamp of the last weblog update
methodpublicgetLat( ) : float

Returns weblog latitude coordinate.

Note. This property is not documented.

Returns
Type Description
float weblog latitude coordinate
methodpublicgetLon( ) : float

Returns weblog longitude coordinate.

Note. This property is not documented.

Returns
Type Description
float weblog longitude coordinate
methodpublicgetName( ) : string

Returns weblog name.

Returns
Type Description
string Weblog name
methodpublicgetRank( ) : integer

Returns weblog rank value.

Note. This property is not documented.

Returns
Type Description
integer weblog rank value
methodpublicgetRssUrl( ) : null|\Zend_Uri_Http

Returns weblog Rss URL.

Returns
Type Description
null|\Zend_Uri_Http object representing the URL of the RSS feed for given blog
methodpublicgetUrl( ) : null|\Zend_Uri_Http

Returns weblog URL.

Returns
Type Description
null|\Zend_Uri_Http object representing weblog base URL
methodpublichasPhoto( ) : bool

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

Note. This property is not documented.

Returns
Type Description
bool TRUE 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
Name Type Description
$url string|\Zend_Uri_Http
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
Throws
Exception Description
\Zend_Service_Technorati_Exception if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)
methodpublicsetHasPhoto( bool $hasPhoto ) : \Zend_Service_Technorati_Weblog

Sets hasPhoto property.

Parameters
Name Type Description
$hasPhoto bool
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
methodpublicsetInboundBlogs( integer $number ) : \Zend_Service_Technorati_Weblog

Sets number of inbound blogs.

Parameters
Name Type Description
$number integer
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
methodpublicsetInboundLinks( integer $number ) : \Zend_Service_Technorati_Weblog

Sets number of Iinbound links.

Parameters
Name Type Description
$number integer
Returns
Type Description
\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
Name Type Description
$datetime mixed

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

Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
Throws
Exception Description
\Zend_Service_Technorati_Exception
methodpublicsetLat( float $coordinate ) : \Zend_Service_Technorati_Weblog

Sets weblog latitude coordinate.

Parameters
Name Type Description
$coordinate float
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
methodpublicsetLon( float $coordinate ) : \Zend_Service_Technorati_Weblog

Sets weblog longitude coordinate.

Parameters
Name Type Description
$coordinate float
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
methodpublicsetName( string $name ) : \Zend_Service_Technorati_Weblog

Sets weblog name.

Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
methodpublicsetRank( integer $rank ) : \Zend_Service_Technorati_Weblog

Sets weblog Rank.

Parameters
Name Type Description
$rank integer
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
methodpublicsetRssUrl( string|\Zend_Uri_Http $url ) : \Zend_Service_Technorati_Weblog

Sets weblog Rss URL.

Parameters
Name Type Description
$url string|\Zend_Uri_Http
Returns
Type Description
\Zend_Service_Technorati_Weblog $this instance
Throws
Exception Description
\Zend_Service_Technorati_Exception if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)
methodpublicsetUrl( string|\Zend_Uri_Http $url ) : void

Sets weblog URL.

Parameters
Name Type Description
$url string|\Zend_Uri_Http
Throws
Exception Description
\Zend_Service_Technorati_Exception if $input is an invalid URI (via Zend_Service_Technorati_Utils::normalizeUriHttp)
Documentation was generated by DocBlox 0.15.1.