OXID eShop CE  4.8.10
 All Classes Files Functions Variables Pages
oxOutput Class Reference
+ Inheritance diagram for oxOutput:
+ Collaboration diagram for oxOutput:

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 Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

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

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

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$sOutputhtmlheader
Returns
string

Definition at line 90 of file oxoutput.php.

oxOutput::flushOutput ( )

flush pending output

Returns
null

Definition at line 194 of file oxoutput.php.

oxOutput::output (   $sName,
  $output 
)

output data

Parameters
string$sNameoutput name (used in json mode)
string$outputoutput text/data
Returns
null

Definition at line 176 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$sValuevalue
string$sClassNameclassname
Returns
string

Definition at line 71 of file oxoutput.php.

oxOutput::processEmail ( $oEmail)

This function is called from index.php

Parameters
object&$oEmailemail object
Returns
null

Definition at line 136 of file oxoutput.php.

oxOutput::processViewArray (   $aViewData,
  $sClassName 
)

Abstract function for smarty tag processing This function is called from index.php

Parameters
array$aViewDataviewarray
string$sClassNameclassname
Returns
array

Definition at line 124 of file oxoutput.php.

oxOutput::sendHeaders ( )

send page headers (content type, charset)

Returns
null

Definition at line 211 of file oxoutput.php.

oxOutput::setCharset (   $sCharset)

set page charset

Parameters
string$sCharsetcharset to send with headers
Returns
null

Definition at line 151 of file oxoutput.php.

oxOutput::setIsSearchEngine (   $blOn)

Search engine mode setter

Parameters
bool$blOnsearch engine mode
Returns
null

Definition at line 57 of file oxoutput.php.

oxOutput::setOutputFormat (   $sFormat)

set page output format

Parameters
string$sFormathtml or json
Returns
null

Definition at line 163 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.

const oxOutput::OUTPUT_FORMAT_HTML = 'html'

Definition at line 9 of file oxoutput.php.

const oxOutput::OUTPUT_FORMAT_JSON = 'json'

Definition at line 10 of file oxoutput.php.


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