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 45 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 90 of file oxoutput.php.

oxOutput.flushOutput (  ) 

flush pending output

Returns:
null

Definition at line 186 of file oxoutput.php.

oxOutput.output ( sName,
output 
)

output data

Parameters:
string $sName output name (used in json mode)
string $output output text/data
Returns:
null

Definition at line 168 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 71 of file oxoutput.php.

oxOutput.processEmail ( &$  oEmail  ) 

This function is called from index.php

Parameters:
object &$oEmail email object
Returns:
null

Definition at line 128 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 116 of file oxoutput.php.

oxOutput.sendHeaders (  ) 

send page headers (content type, charset)

Returns:
null

Definition at line 203 of file oxoutput.php.

oxOutput.setCharset ( sCharset  ) 

set page charset

Parameters:
string $sCharset charset to send with headers
Returns:
null

Definition at line 143 of file oxoutput.php.

oxOutput.setIsSearchEngine ( blOn  ) 

Search engine mode setter

Parameters:
bool $blOn search engine mode
Returns:
null

Definition at line 57 of file oxoutput.php.

oxOutput.setOutputFormat ( sFormat  ) 

set page output format

Parameters:
string $sFormat html or json
Returns:
null

Definition at line 155 of file oxoutput.php.


Member Data Documentation

oxOutput.$_aBuffer = array() [protected]

Definition at line 38 of file oxoutput.php.

oxOutput.$_blSearchEngine = false [protected]

Definition at line 17 of file oxoutput.php.

oxOutput.$_sCharset = null [protected]

Definition at line 24 of file oxoutput.php.

oxOutput.$_sOutputFormat = self::OUTPUT_FORMAT_HTML [protected]

Definition at line 31 of file oxoutput.php.

Definition at line 9 of file oxoutput.php.

Definition at line 10 of file oxoutput.php.


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