Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 580 → Rev 612

/trunk/widget/modules/photo/bibliotheque/xml_feed_parser/1.0.4/parsers/XmlFeedParserRss11Element.php/RSS11Element.php
29,8 → 29,7
* @version Release: @package_version@
* @package XML_Feed_Parser
*/
class XML_Feed_Parser_RSS11Element extends XML_Feed_Parser_RSS11
{
class XmlFeedParserRss11Element extends XmlFeedParserRss11 {
/**
* This will be a reference to the parent object for when we want
* to use a 'fallback' rule
78,8 → 77,7
* @param DOMElement $element - this item as a DOM element
* @param XML_Feed_Parser_RSS1 $parent - the feed of which this is a member
*/
function __construct(DOMElement $element, $parent, $xmlBase = '')
{
function __construct(DOMElement $element, $parent, $xmlBase = '') {
$this->model = $element;
$this->parent = $parent;
}
93,8 → 91,7
*
* @return string|false
*/
function getId()
{
function getId() {
if ($this->model->attributes->getNamedItem('about')) {
return $this->model->attributes->getNamedItem('about')->nodeValue;
}
110,8 → 107,7
*
* @return string|false
*/
function getContent()
{
function getContent() {
$options = array('encoded', 'description');
foreach ($options as $element) {
$test = $this->model->getElementsByTagName($element);
142,10 → 138,8
*
* @return false
*/
function getEnclosure()
{
function getEnclosure() {
return false;
}
}
 
?>
?>