Public Member Functions | Public Attributes | Protected Attributes

oxOutput Class Reference

Inheritance diagram for oxOutput:
Collaboration diagram for oxOutput:

List of all members.

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()

Detailed Description

class for output processing

Definition at line 7 of file oxoutput.php.


Constructor & Destructor Documentation

oxOutput.__construct (  ) 

Class constructor. Sets search engine mode according to client info

Returns:
null

Reimplemented from oxSuperCfg.

Definition at line 46 of file oxoutput.php.


Member Function Documentation

oxOutput.addVersionTags ( sOutput  )  [final]

Add a version tag to a html page

Parameters:
string $sOutput htmlheader
Returns:
string

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

Parameters:
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

Parameters:
string $sValue value
string $sClassName classname
Returns:
string

Definition at line 70 of file oxoutput.php.

oxOutput.processEmail ( &$  oEmail  ) 

This function is called from index.php

Parameters:
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

Parameters:
array $aViewData viewarray
string $sClassName classname
Returns:
array

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

Parameters:
string $sCharset charset to send with headers

Definition at line 146 of file oxoutput.php.

oxOutput.setIsSearchEngine ( blOn  ) 

Search engine mode setter

Parameters:
bool $blOn search engine mode

Definition at line 56 of file oxoutput.php.

oxOutput.setOutputFormat ( sFormat  ) 

set page output format

Parameters:
string $sFormat html or json

Definition at line 156 of file oxoutput.php.


Member Data Documentation

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.

Definition at line 10 of file oxoutput.php.

Definition at line 11 of file oxoutput.php.


The documentation for this class was generated from the following file: