Class Index | File Index

Classes


Class ContentItem

This is the basic class that represents a content item. This class exposes main functions used to initialize and retrieve information from a content item.
Defined in: dfDataWidget.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a new ContentItem object.
Method Summary
Method Attributes Method Name and Description
 
construct(contentItemNode)
 
Return the content item abstract xml.
 
Return the content item author.
 
Return the content item big image.
 
Return the content item category.
 
Return the content item xml.
 
Return the content item creation date.
 
Return display mode (list or item) used by renderer.
 
Return the content item name.
 
Return the content item rating.
 
Return the content item small image.
 
Return the content item tags.
 
Return the content item title.
 
Return the content item number of votes.
 
Set the display mode (list or item) used by renderer.
Class Detail
ContentItem()
Construct a new ContentItem object.
Parameters:
{String} contentItemXML.
The content item xml source.
Returns:
A new ContentItem instance
Method Detail
construct(contentItemNode)
Parameters:
contentItemNode

{String} getAbstractXML()
Return the content item abstract xml.

{String} getAuthor()
Return the content item author.

{String} getBigImage()
Return the content item big image.

{String} getCategory()
Return the content item category.

{String} getContentXML()
Return the content item xml.

{String} getDateCreation()
Return the content item creation date.

{String} getMode()
Return display mode (list or item) used by renderer.

{String} getName()
Return the content item name.

{String} getRating()
Return the content item rating.

{String} getSmallImage()
Return the content item small image.

{String} getTags()
Return the content item tags.

{String} getTitle()
Return the content item title.

{String} getVotes()
Return the content item number of votes.

setMode()
Set the display mode (list or item) used by renderer.
Parameters:
{String} mode.
The display mode.

Documentation generated by JsDoc Toolkit 2.3.0 on Mon Jun 29 2009 14:55:07 GMT+0200 (CEST)