00001 <?php
00002
00006 class oxOutput extends oxSuperCfg
00007 {
00013 protected $_blSearchEngine = false;
00014
00020 public function __construct()
00021 {
00022 $this->setIsSearchEngine( oxUtils::getInstance()->isSearchEngine() );
00023 }
00024
00032 public function setIsSearchEngine( $blOn )
00033 {
00034 $this->_blSearchEngine = $blOn;
00035 }
00036
00046 public function process( $sValue, $sClassName )
00047 {
00048 $myConfig = $this->getConfig();
00049
00050
00051 if ( !$myConfig->getConfigParam( 'blSkipEuroReplace' ) && !$myConfig->isUtf() ) {
00052 $sValue = str_replace( 'ยค', '€', $sValue );
00053 }
00054
00055 return $sValue;
00056 }
00057
00065 final public function addVersionTags( $sOutput )
00066 {
00067
00068 $sVersion = $this->getConfig()->getVersion();
00069 $sEdition = $this->getConfig()->getFullEdition();
00070 $sCurYear = date("Y");
00071
00072 $sOutput = preg_replace("/<\/head>/i", "</head>\n <!-- OXID eShop {$sEdition}, Version {$sVersion}, Shopsystem (c) OXID eSales AG 2003 - {$sCurYear} - http://www.oxid-esales.com -->", $sOutput);
00073
00074 return $sOutput;
00075 }
00076
00086 public function processViewArray($aViewData, $sClassName)
00087 {
00088 return $aViewData;
00089 }
00090
00098 public function processEmail( & $oEmail)
00099 {
00100
00101
00102
00103 }
00104 }