59 $this->_blSearchEngine = $blOn;
71 public function process( $sValue, $sClassName )
77 $sValue = str_replace(
'�',
'€', $sValue );
93 $sVersion = $this->
getConfig()->getVersion();
94 $sEdition = $this->
getConfig()->getFullEdition();
95 $sCurYear = date(
"Y");
99 $aVersion = explode(
'.', $sVersion);
100 $sMajorVersion = reset($aVersion);
104 $sSearch =
"</head>";
105 $sReplace =
"</head>\n <!-- OXID eShop {$sEdition}, Version {$sMajorVersion}{$sShopMode}, Shopping Cart System (c) OXID eSales AG 2003 - {$sCurYear} - http://www.oxid-esales.com -->";
107 $sOutput = ltrim($sOutput);
108 if ( ($pos = stripos( $sOutput, $sSearch )) !==
false) {
109 $sOutput = substr_replace($sOutput, $sReplace, $pos, strlen($sSearch));
153 $this->_sCharset = $sCharset;
165 $this->_sOutputFormat = $sFormat;
178 switch ($this->_sOutputFormat) {
179 case self::OUTPUT_FORMAT_JSON:
180 $this->_aBuffer[$sName] = $output;
182 case self::OUTPUT_FORMAT_HTML:
196 switch ($this->_sOutputFormat) {
197 case self::OUTPUT_FORMAT_JSON:
198 echo
getStr()->jsonEncode($this->_aBuffer);
200 case self::OUTPUT_FORMAT_HTML:
213 switch ($this->_sOutputFormat) {
214 case self::OUTPUT_FORMAT_JSON:
215 oxRegistry::getUtils()->setHeader(
"Content-Type: application/json; charset=".$this->_sCharset );
217 case self::OUTPUT_FORMAT_HTML: