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 //fix for euro currency problem (it's invisible in some older browsers) 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 // DISPLAY IT 00067 $sVersion = $this->getConfig()->getActiveShop()->oxshops__oxversion->value; 00068 00069 00070 00071 return $sOutput; 00072 } 00073 00083 public function processViewArray($aViewData, $sClassName) 00084 { 00085 return $aViewData; 00086 } 00087 00095 public function processEmail( & $oEmail) 00096 { 00097 // #669 PHP5 claims that you cant pas full this but should instead pass reference what is anyway a much better idea 00098 // dodger: removed "return" as by reference you dont need any return 00099 00100 } 00101 }