oxoutput.php

Go to the documentation of this file.
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         //fix for euro currency problem (it's invisible in some older browsers)
00051         if ( !$myConfig->getConfigParam( 'blSkipEuroReplace' ) && !$myConfig->isUtf() ) {
00052             $sValue = str_replace( 'ยค', '&euro;', $sValue );
00053         }
00054 
00055         return $sValue;
00056     }
00057 
00065     final public function addVersionTags( $sOutput )
00066     {
00067         // DISPLAY IT
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         // #669 PHP5 claims that you cant pas full this but should instead pass reference what is anyway a much better idea
00101         // dodger: removed "return" as by reference you dont need any return
00102 
00103     }
00104 }

Generated on Wed Apr 22 12:26:31 2009 for OXID eShop CE by  doxygen 1.5.5