Jelix 1.6.40

jAtom10Item extends jXMLFeedItem
in package

Table of Contents

$authorEmail  : string
author email
$authorName  : string
author name
$authorUri  : string
the url of the main author
$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'
$contributors  : string
list of contributors each contributor is an array('name'=>'','email'=>'','uri'=>'')
$copyright  : string
Copyright
$id  : string
identifiant of the item (its url for example)
$link  : string
url of the item
$otherAuthors  : array<string|int, mixed>
list of other authors each author is an array('name'=>'','email'=>'','uri'=>'')
$otherLinks  : array<string|int, mixed>
related links to the item each link is an array with this keys : href rel type hreflang title length
$published  : string
publication date of the item format : yyyy-mm-dd hh:mm:ss
$source  : xml
atom content of the source of the item
$summary  : string
summary of the content
$summaryType  : string
type of the summary possible values are 'text', 'html', 'xhtml'
$title  : string
title
$updated  : string
date of the last update of the item date format is yyyy-mm-dd hh:mm:ss
$_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'

$contributors

list of contributors each contributor is an array('name'=>'','email'=>'','uri'=>'')

public string $contributors = array()

$otherAuthors

list of other authors each author is an array('name'=>'','email'=>'','uri'=>'')

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

related links to the item each link is an array with this keys : href rel type hreflang title length

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

$published

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

public string $published

$summaryType

type of the summary possible values are 'text', 'html', 'xhtml'

public string $summaryType

$updated

date of the last update of the item date format is yyyy-mm-dd hh:mm:ss

public string $updated

Methods

setFromXML()

fill item with the given xml node

public setFromXML(SimpleXMLElement $item) : mixed
Parameters
$item : SimpleXMLElement
Return values
mixed

Search results