Public Member Functions | |
__construct () | |
setIsSearchEngine ($blOn) | |
process ($sValue, $sClassName) | |
addVersionTags ($sOutput) | |
processViewArray ($aViewData, $sClassName) | |
processEmail (&$oEmail) | |
setCharset ($sCharset) | |
setOutputFormat ($sFormat) | |
output ($sName, $output) | |
flushOutput () | |
sendHeaders () | |
Public Attributes | |
const | OUTPUT_FORMAT_HTML = 'html' |
const | OUTPUT_FORMAT_JSON = 'json' |
Protected Attributes | |
$_blSearchEngine = false | |
$_sCharset = null | |
$_sOutputFormat = self::OUTPUT_FORMAT_HTML | |
$_aBuffer = array() |
class for output processing
Definition at line 7 of file oxoutput.php.
oxOutput.__construct | ( | ) |
Class constructor. Sets search engine mode according to client info
Reimplemented from oxSuperCfg.
Definition at line 46 of file oxoutput.php.
oxOutput.addVersionTags | ( | $ | sOutput | ) | [final] |
Add a version tag to a html page
string | $sOutput htmlheader |
Definition at line 89 of file oxoutput.php.
oxOutput.flushOutput | ( | ) |
flush pending output
Definition at line 183 of file oxoutput.php.
oxOutput.output | ( | $ | sName, | |
$ | output | |||
) |
output data
string | $sName output name (used in json mode) | |
string | $output output text/data |
Definition at line 167 of file oxoutput.php.
oxOutput.process | ( | $ | sValue, | |
$ | sClassName | |||
) |
function for front-end (normaly HTML) output processing This function is called from index.php
string | $sValue value | |
string | $sClassName classname |
Definition at line 70 of file oxoutput.php.
oxOutput.processEmail | ( | &$ | oEmail | ) |
This function is called from index.php
object | &$oEmail email object |
Definition at line 133 of file oxoutput.php.
oxOutput.processViewArray | ( | $ | aViewData, | |
$ | sClassName | |||
) |
Abstract function for smarty tag processing This function is called from index.php
array | $aViewData viewarray | |
string | $sClassName classname |
Definition at line 123 of file oxoutput.php.
oxOutput.sendHeaders | ( | ) |
send page headers (content type, charset)
Definition at line 198 of file oxoutput.php.
oxOutput.setCharset | ( | $ | sCharset | ) |
set page charset
string | $sCharset charset to send with headers |
Definition at line 146 of file oxoutput.php.
oxOutput.setIsSearchEngine | ( | $ | blOn | ) |
Search engine mode setter
bool | $blOn search engine mode |
Definition at line 56 of file oxoutput.php.
oxOutput.setOutputFormat | ( | $ | sFormat | ) |
set page output format
string | $sFormat html or json |
Definition at line 156 of file oxoutput.php.
oxOutput.$_aBuffer = array() [protected] |
Definition at line 39 of file oxoutput.php.
oxOutput.$_blSearchEngine = false [protected] |
Definition at line 18 of file oxoutput.php.
oxOutput.$_sCharset = null [protected] |
Definition at line 25 of file oxoutput.php.
oxOutput.$_sOutputFormat = self::OUTPUT_FORMAT_HTML [protected] |
Definition at line 32 of file oxoutput.php.
const oxOutput.OUTPUT_FORMAT_HTML = 'html' |
Definition at line 10 of file oxoutput.php.
const oxOutput.OUTPUT_FORMAT_JSON = 'json' |
Definition at line 11 of file oxoutput.php.