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
$authorEmail
author email
public
string
$authorEmail
$authorName
author name
public
string
$authorName
$authorUri
the url of the main author
public
string
$authorUri
$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'
$contributors
list of contributors each contributor is an array('name'=>'','email'=>'','uri'=>'')
public
string
$contributors
= array()
$copyright
Copyright
public
string
$copyright
$id
identifiant of the item (its url for example)
public
string
$id
$link
url of the item
public
string
$link
$otherAuthors
list of other authors each author is an array('name'=>'','email'=>'','uri'=>'')
public
array<string|int, mixed>
$otherAuthors
= array()
$otherLinks
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
$source
atom content of the source of the item
public
xml
$source
$summary
summary of the content
public
string
$summary
$summaryType
type of the summary possible values are 'text', 'html', 'xhtml'
public
string
$summaryType
$title
title
public
string
$title
$updated
date of the last update of the item date format is yyyy-mm-dd hh:mm:ss
public
string
$updated
$_mandatory
protected
string
$_mandatory
= array()
Methods
setFromXML()
fill item with the given xml node
public
setFromXML(SimpleXMLElement $item) : mixed
Parameters
- $item : SimpleXMLElement