ApacheLogAnalyzer2Feed
[ class tree: ApacheLogAnalyzer2Feed ] [ index: ApacheLogAnalyzer2Feed ] [ all elements ]

Class: JSCreator

Source Location: /FeedCreator.php

Class Overview

HtmlDescribable
   |
   --FeedCreator
      |
      --HTMLCreator
         |
         --JSCreator

JSCreator is a class that writes a js file to a specific location, overriding the createFeed method of the parent HTMLCreator.


Author(s):

  • Pascal Van Hecke

Variables

Methods


Inherited Variables

Inherited Methods

Class: HTMLCreator

HTMLCreator::createFeed()
Writes the HTML.
HTMLCreator::_generateFilename()
Overrrides parent to produce .html extensions

Class: FeedCreator

FeedCreator::addItem()
Adds an FeedItem to the feed.
FeedCreator::createFeed()
Builds the feed's text.
FeedCreator::iTrunc()
Truncates a string to a certain length at the most sensible point.
FeedCreator::outputFeed()
Outputs this feed directly to the browser - for on-the-fly feed generation
FeedCreator::saveFeed()
Saves this feed as a file on the local disk. After the file is saved, a redirect header may be sent to redirect the user to the newly created file.
FeedCreator::useCached()
Turns on caching and checks if there is a recent version of this feed in the cache.
FeedCreator::_createAdditionalElements()
Creates a string containing all additional elements specified in $additionalElements.
FeedCreator::_createGeneratorComment()
Creates a comment indicating the generator of this feed.
FeedCreator::_createStylesheetReferences()
FeedCreator::_generateFilename()
Generate a filename for the feed cache file. The result will be $_SERVER["PHP_SELF"] with the extension changed to .xml.
FeedCreator::_redirect()

Class: HtmlDescribable

HtmlDescribable::getDescription()
Returns a formatted description field, depending on descriptionHtmlSyndicated and

Class Details

[line 1693]
JSCreator is a class that writes a js file to a specific location, overriding the createFeed method of the parent HTMLCreator.



Tags:

author:  Pascal Van Hecke


[ Top ]


Class Variables

$contentType =  "text/javascript"

[line 1694]


Type:   mixed
Overrides:   Array


[ Top ]



Class Methods


method createFeed [line 1700]

string createFeed( )

writes the javascript



Tags:

return:  the scripts's complete text


Overrides HTMLCreator::createFeed() (Writes the HTML.)

[ Top ]

method _generateFilename [line 1719]

string _generateFilename( )

Overrrides parent to produce .js extensions



Tags:

return:  the feed cache filename
since:  1.4
access:  private


Overrides HTMLCreator::_generateFilename() (Overrrides parent to produce .html extensions)

[ Top ]


Documentation generated on Mon, 28 May 2007 16:15:02 +0200 by phpDocumentor 1.3.2