OXID eShop CE  4.10.4
 All Classes Namespaces 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 46 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 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$sNameoutput name (used in json mode)
string$outputoutput 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$sValuevalue
string$sClassNameclassname
Returns
string

Definition at line 70 of file oxoutput.php.

oxOutput::processEmail ( $oEmail)

This function is called from index.php

Parameters
object&$oEmailemail 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$aViewDataviewarray
string$sClassNameclassname
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$sCharsetcharset to send with headers

Definition at line 146 of file oxoutput.php.

oxOutput::setIsSearchEngine (   $blOn)

Search engine mode setter

Parameters
bool$blOnsearch engine mode

Definition at line 56 of file oxoutput.php.

oxOutput::setOutputFormat (   $sFormat)

set page output format

Parameters
string$sFormathtml 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.

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.


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