RSSItem RSSItem(
RSSDoc
&$rssDoc, string
$title, string
$link, string
$description
)
|
|
constructor of the RSSItem Class
Parameters:
|
RSSDoc |
&$rssDoc: |
Instance of parent RSS document |
|
string |
$title: |
title |
|
string |
$link: |
link |
|
string |
$description: |
description |
method returns the value of the author tag of the Item
method returns the value of the category tag of the Item
method returns the value of the comments tag of the Item
method returns the value of the description tag of the Item
method returns the value of the link tag of the Item
timestamp getPubDate(
[boolean
$asTimeStamp = true]
)
|
|
method returns the value of the pubDate tag of the Item
Parameters:
|
boolean |
$asTimeStamp: |
returnAsTimeStamp |
API Tags:
| Return: | or string or boolean false |
method returns the value of the source tag of the Item
method returns the value of the title tag of the Item
void setAuthor(
mixed
$string
)
|
|
method sets/changes the optional author tag of the Item
void setCategory(
mixed
$string
)
|
|
method sets/changes the optional category tag of the Item
void setComments(
mixed
$stringURl
)
|
|
method sets/changes the optional comments tag of the Item
void setDescription(
mixed
$strValue
)
|
|
method sets/changes the description tag of the Item
void setEnclosure(
mixed
$url, mixed
$bytelength, mixed
$mimetype
)
|
|
method sets/changes the optional enclosure tag of the Item
void setGuid(
mixed
$string, [mixed
$isPermaLink = false]
)
|
|
method sets/changes the optional guid tag of the Item
void setLink(
mixed
$strValue
)
|
|
method sets/changes the link tag of the Item
void setPubDate(
mixed
$timestamp, [mixed
$format = "r"]
)
|
|
method sets/changes the optional PubDate tag of the Item
void setSource(
mixed
$string, mixed
$url
)
|
|
method sets/changes the optional source tag of the Item
void setTitle(
mixed
$strValue
)
|
|
method sets/changes the title tag of the Item