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