Jelix 1.6.40

jXMLFeedItem
in package

Tags
subpackage

feeds

author

Yannick Le Guédart

contributor

Laurent Jouanneau

copyright

2006 Yannick Le Guédart

copyright

2006-2009 Laurent Jouanneau

link
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

$authorEmail  : string
author email
$authorName  : string
author name
$categories  : array<string|int, mixed>
list of category names
$content  : string
content of the item. could be pure text or html
$contentType  : string
says the type of content : text or html (or xhtml for atom) Values : 'text','html','xhtml'
$id  : string
identifiant of the item (its url for example)
$link  : string
url of the item
$published  : string
publication date of the item format : yyyy-mm-dd hh:mm:ss
$title  : string
title
$_mandatory  : string
setFromXML()  : mixed
fill item with the given xml node

Properties

$categories

list of category names

public array<string|int, mixed> $categories = array()

$contentType

says the type of content : text or html (or xhtml for atom) Values : 'text','html','xhtml'

public string $contentType = 'text'

$published

publication date of the item format : yyyy-mm-dd hh:mm:ss

public string $published

Methods

setFromXML()

fill item with the given xml node

public abstract setFromXML(SimpleXMLElement $xml_element) : mixed
Parameters
$xml_element : SimpleXMLElement
Return values
mixed

Search results