oxoutput.php

Go to the documentation of this file.
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), '&euro;', $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             $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         // #669 PHP5 claims that you cant pas full this but should instead pass reference what is anyway a much better idea
00100         // dodger: removed "return" as by reference you dont need any return
00101 
00102     }
00103 }

Generated on Wed Jan 7 14:17:39 2009 for OXID eShop CE by  doxygen 1.5.5