HTMLCreator Class Reference

Inheritance diagram for HTMLCreator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 _generateFilename ()
 createFeed ()

Public Attributes

 $contentType = "text/html"
 $footer
 $header
 $imageAlign = "right"
 $openInNewWindow = true
 $separator
 $stylelessOutput = ""
 $stylePrefix

Detailed Description

Definition at line 1276 of file feedcreator.class.php.


Member Function Documentation

HTMLCreator::_generateFilename (  ) 

Overrrides parent to produce .html extensions

Returns:
string the feed cache filename
Since:
1.4 private

Reimplemented from FeedCreator.

Reimplemented in JSCreator.

Definition at line 1409 of file feedcreator.class.php.

References $_SERVER.

Referenced by createFeed().

HTMLCreator::createFeed (  ) 

Writes the HTML.

Returns:
string the scripts's complete text

Reimplemented from FeedCreator.

Reimplemented in JSCreator.

Definition at line 1322 of file feedcreator.class.php.

References $feed, $i, _generateFilename(), HtmlDescribable::getDescription(), image, FeedCreator::iTrunc(), link, and title.

Here is the call graph for this function:


Member Data Documentation

HTMLCreator::$contentType = "text/html"

This feed's MIME content type.

Since:
1.4 private

Reimplemented from FeedCreator.

Reimplemented in JSCreator.

Definition at line 1278 of file feedcreator.class.php.

HTMLCreator::$footer

Contains HTML to be output at the end of the feed's html representation.

Definition at line 1288 of file feedcreator.class.php.

HTMLCreator::$header

Contains HTML to be output at the start of the feed's html representation.

Definition at line 1283 of file feedcreator.class.php.

HTMLCreator::$imageAlign = "right"

Definition at line 1307 of file feedcreator.class.php.

HTMLCreator::$openInNewWindow = true

Determines whether the links open in a new window or not.

Definition at line 1305 of file feedcreator.class.php.

HTMLCreator::$separator

Contains HTML to be output between entries. A separator is only used in case of multiple entries.

Definition at line 1294 of file feedcreator.class.php.

HTMLCreator::$stylelessOutput = ""

In case of very simple output you may want to get rid of the style tags, hence this variable. There's no equivalent on item level, but of course you can add strings to it while iterating over the items ($this->stylelessOutput .= ...) and when it is non-empty, ONLY the styleless output is printed, the rest is ignored in the function createFeed().

Definition at line 1316 of file feedcreator.class.php.

HTMLCreator::$stylePrefix

Used to prefix the stylenames to make sure they are unique and do not clash with stylenames on the users' page.

Definition at line 1300 of file feedcreator.class.php.


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 19:34:36 2007 for bitweaver by  doxygen 1.5.2