Axiom (v1.2.0)

A lightweight PHP framework
axFeedEntry Class Reference

Feed Entry Class. More...

Public Member Functions

 __construct (array $values=array())
 Constructor.
 __get ($key)
 Getter.
 __set ($key, $value)
 Setter.
 getId ()
 Get id.
 setId ($id)
 Set id.
 getTitle ()
 Get title.
 setTitle ($title)
 Set title.
 getDate ()
 Get date (RFC 2822)
 setDate ($date)
 Set date.
 getAuthor ()
 Get author.
 setAuthor (array $author)
 Set author.
 getDescription ()
 Get description.
 setDescription ($description)
 Set description.
 getContent ()
 Get content.
 setContent ($content)
 Set content.
 getLink ()
 Get link.
 setLink ($url)
 Set link.
 getComments ()
 Get comments url.
 setComments ($url)
 Sets comments url.

Protected Attributes

 $_id
 $_title
 Entry title.
 $_date
 Entry date (RFC 2822)
 $_author
 Entry author.
 $_decription
 $content
 Entry content.
 $link
 Entry link.
 $comments
 Entry comments URL.

Detailed Description

Feed Entry Class.

Todo:
axFeedEntry long description
Author:
Delespierre
License:
http://www.gnu.org/licenses/lgpl.html Lesser General Public Licence version 3

Definition at line 17 of file axFeedEntry.class.php.


Constructor & Destructor Documentation

axFeedEntry::__construct ( array $  values = array())

Constructor.

You may pass an array of attributes to initialize the axFeedEntry propreties.

Parameters:
array$values[optional] [default array()]

Definition at line 74 of file axFeedEntry.class.php.


Member Function Documentation

axFeedEntry::__get ( key)

Getter.

Parameters:
string$key
Exceptions:
InvalidArgumentExceptionIf $key doesn't exists
Returns:
mixed

Definition at line 89 of file axFeedEntry.class.php.

axFeedEntry::__set ( key,
value 
)

Setter.

Parameters:
string$key
mixed$value
Returns:
void

Definition at line 103 of file axFeedEntry.class.php.

Get author.

Returns:
string

Definition at line 183 of file axFeedEntry.class.php.

Get comments url.

Returns:
string

Definition at line 282 of file axFeedEntry.class.php.

Get content.

Returns:
string

Definition at line 239 of file axFeedEntry.class.php.

Get date (RFC 2822)

Returns:
string

Definition at line 156 of file axFeedEntry.class.php.

Get description.

Returns:
string

Definition at line 218 of file axFeedEntry.class.php.

Get id.

Returns:
integer

Definition at line 114 of file axFeedEntry.class.php.

Get link.

Returns:
string

Definition at line 259 of file axFeedEntry.class.php.

Get title.

Returns:
string

Definition at line 136 of file axFeedEntry.class.php.

axFeedEntry::setAuthor ( array $  author)

Set author.

Exceptions:
InvalidArgumentExceptionIf author's mail, name or URI is invalid
Parameters:
array$author
Returns:
axFeedEntry

Definition at line 194 of file axFeedEntry.class.php.

Sets comments url.

Parameters:
string$url
Exceptions:
InvalidArgumentExceptionIf $url parameter is not a valid URL
Returns:
axFeedEntry

Definition at line 293 of file axFeedEntry.class.php.

axFeedEntry::setContent ( content)

Set content.

Parameters:
string$content
Returns:
axFeedEntry

Definition at line 249 of file axFeedEntry.class.php.

axFeedEntry::setDate ( date)

Set date.

Date parameter may be integer or string; it will be converted to RFC 2822 date.

Parameters:
mixed$date
Returns:
axFeedEntry

Definition at line 168 of file axFeedEntry.class.php.

axFeedEntry::setDescription ( description)

Set description.

Parameters:
string$description
Returns:
axFeedEntry

Definition at line 228 of file axFeedEntry.class.php.

axFeedEntry::setId ( id)

Set id.

First parameter $id will be converted to integer

Parameters:
mixed$id
Returns:
axFeedEntry

Definition at line 126 of file axFeedEntry.class.php.

Set link.

Parameters:
string$url
Exceptions:
InvalidArgumentExceptionIf $url parameter is not a valid URL
Returns:
axFeedEntry

Definition at line 270 of file axFeedEntry.class.php.

axFeedEntry::setTitle ( title)

Set title.

Parameters:
string$title
Returns:
void

Definition at line 146 of file axFeedEntry.class.php.


Field Documentation

string axFeedEntry::$_author [protected]

Entry author.

Definition at line 41 of file axFeedEntry.class.php.

string axFeedEntry::$_date [protected]

Entry date (RFC 2822)

Definition at line 35 of file axFeedEntry.class.php.

axFeedEntry::$_decription [protected]

Definition at line 47 of file axFeedEntry.class.php.

integer axFeedEntry::$_id [protected]

Entry ID

Definition at line 23 of file axFeedEntry.class.php.

string axFeedEntry::$_title [protected]

Entry title.

Definition at line 29 of file axFeedEntry.class.php.

string axFeedEntry::$comments [protected]

Entry comments URL.

Definition at line 65 of file axFeedEntry.class.php.

string axFeedEntry::$content [protected]

Entry content.

Definition at line 53 of file axFeedEntry.class.php.

string axFeedEntry::$link [protected]

Entry link.

Definition at line 59 of file axFeedEntry.class.php.


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