00001 <?php
00002
00007 class oxOutput extends oxSuperCfg
00008 {
00014 protected $_blSearchEngine = false;
00015
00021 public function __construct()
00022 {
00023 $this->setIsSearchEngine( oxUtils::getInstance()->isSearchEngine() );
00024 }
00025
00033 public function setIsSearchEngine( $blOn )
00034 {
00035 $this->_blSearchEngine = $blOn;
00036 }
00037
00047 public function process( $sValue, $sClassName )
00048 {
00049
00050 if ( !$this->getConfig()->getConfigParam( 'blSkipEuroReplace' ) ) {
00051 $sValue = str_replace( chr(128), '€', $sValue );
00052 }
00053
00054 return $sValue;
00055 }
00056
00064 final public function addVersionTags( $sOutput )
00065 {
00066
00067 $sVersion = $this->getConfig()->getActiveShop()->oxshops__oxversion->value;
00068
00069
00070 $sOutput = preg_replace("/<\/head>/i", "</head>\n <!-- OXID eShop Community Edition, Version $sVersion, Shopsystem \251 OXID eSales AG 2003-2008 - http://www.oxid-esales.com -->", $sOutput);
00071
00072
00073 return $sOutput;
00074 }
00075
00085 public function processViewArray($aViewData, $sClassName)
00086 {
00087 return $aViewData;
00088 }
00089
00097 public function processEmail( & $oEmail)
00098 {
00099
00100
00101
00102 }
00103 }