classQRssItem
QRssItem Class Reference
Inherits QBaseClass.

Public Member Functions
- __construct ($strTitle, $strLink, $strDescription=null)
- GetXml ()
- AddCategory (QRssCategory $objCategory)
- __get ($strName)
- __set ($strName, $mixValue)
Protected Attributes
- $strTitle
- $strLink
- $strDescription
- $strAuthor
- $objCategoryArray = array()
- $strComments
- $strGuid
- $blnGuidPermaLink
- $dttPubDate
Constructor & Destructor Documentation
| QRssItem::__construct | ( | $ | strTitle, | |
| $ | strLink, | |||
| $ | strDescription = null | |||
| ) |
References $strDescription, $strLink, and $strTitle.
Member Function Documentation
| QRssItem::__get | ( | $ | strName | ) |
Override method to perform a property "Get" This will get the value of $strName All inhereted objects that call __get() should always fall through to calling parent::__get() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to get
- Returns:
- mixed the returned property
Reimplemented from QBaseClass.
References QCallerException::IncrementOffset().
| QRssItem::__set | ( | $ | strName, | |
| $ | mixValue | |||
| ) |
Override method to perform a property "Set" This will set the property $strName to be $mixValue All inhereted objects that call __set() should always fall through to calling parent::__set() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to set string $mixValue New value of the property
- Returns:
- mixed the property that was set
Reimplemented from QBaseClass.
References QType::Boolean, QType::Cast(), QType::DateTime, QCallerException::IncrementOffset(), and QType::String.
| QRssItem::AddCategory | ( | QRssCategory $ | objCategory | ) |
| QRssItem::GetXml | ( | ) |
References QDateTime::FormatRfc822, and QString::XmlEscape().
Member Data Documentation
QRssItem::$blnGuidPermaLink [protected] |
QRssItem::$dttPubDate [protected] |
QRssItem::$objCategoryArray = array() [protected] |
QRssItem::$strAuthor [protected] |
QRssItem::$strComments [protected] |
QRssItem::$strDescription [protected] |
Referenced by __construct().
QRssItem::$strGuid [protected] |
QRssItem::$strLink [protected] |
Referenced by __construct().
QRssItem::$strTitle [protected] |
Referenced by __construct().
The documentation for this class was generated from the following file:
- qcodo/_core/framework/QRssFeed.class.php
