Public Member Functions | |
| __construct ($name, $masterCache) | |
| cacheCheck () | |
| generateContent () | |
| getParam ($param) | |
| getInput ($master, $param, $options) | |
Public Member Functions inherited from Page | |
| addVariant ($value) | |
| getVariants () | |
| __construct ($cache=null) | |
| mayCompress () | |
| mayValidate () | |
| startCompression () | |
| generateContent () | |
| cacheCheck () | |
| genPage () | |
| display () | |
Static Public Member Functions | |
| static | getFiles ($doc, $options) |
Additional Inherited Members | |
Protected Member Functions inherited from Page | |
| setCache ($cache) | |
| getCache () | |
Functionality for translating an XML configuration document into a webpage
| InputParser::__construct | ( | $name, | |
| $masterCache | |||
| ) |
Constructs a new InputParser object
| $name | name of file to read configuration from |
| $masterCache | CacheTimeCheck cache object to use as parent for this inputParsercache |
| InputParser::generateContent | ( | ) |
Generate an appropriate response for this page, eg. 302 NOT MODIFIED or the actual page
|
static |
This is the last processing stage for generating a file.
| $doc | the document to be worked upon |
| $options | an Options object for this file. |
| InputParser::getInput | ( | $master, | |
| $param, | |||
| $options | |||
| ) |
Follows all include directives recursively for the specified $param an generates an xml file.
This function may be used to generate a file which has all the necessary information to determine wether or not we may cache.
| $master | The master document to be processed |
| $param | the input tag to resolve |
| $options | the options object for this file |
| InputParser::getParam | ( | $param | ) |
Extracts data from a <param> tag.
| $param | the param tag |
1.8.6