API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
HTMLCreator is a FeedCreator that writes an HTML feed file to a specific location, overriding the createFeed method of the parent FeedCreator. The HTML produced can be included over http by scripting languages, or serve as the source for an IFrame. All output by this class is embedded in
tags to enable formatting using CSS.
HTMLCreator::_generateFilename | ( | ) |
Overrrides parent to produce .html extensions
Réimplémentée à partir de FeedCreator.
Réimplémentée dans JSCreator.
Référencé par createFeed().
HTMLCreator::createFeed | ( | ) |
Writes the HTML.
Réimplémentée à partir de FeedCreator.
Réimplémentée dans JSCreator.
Références $feed, $i, _generateFilename(), HtmlDescribable::getDescription(), items, et FeedCreator::iTrunc().
HTMLCreator::$contentType = "text/html" |
This feed's MIME content type.
Réimplémentée à partir de FeedCreator.
Réimplémentée dans JSCreator.
HTMLCreator::$footer |
Contains HTML to be output at the end of the feed's html representation.
HTMLCreator::$header |
Contains HTML to be output at the start of the feed's html representation.
HTMLCreator::$imageAlign = "right" |
HTMLCreator::$openInNewWindow = true |
Determines whether the links open in a new window or not.
HTMLCreator::$separator |
Contains HTML to be output between entries. A separator is only used in case of multiple entries.
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().
HTMLCreator::$stylePrefix |
Used to prefix the stylenames to make sure they are unique and do not clash with stylenames on the users' page.