58 $this->_blSearchEngine = $blOn;
70 public function process($sValue, $sClassName)
76 $sValue = str_replace(
'�',
'€', $sValue);
92 $sVersion = $this->
getConfig()->getVersion();
93 $sEdition = $this->
getConfig()->getFullEdition();
94 $sCurYear = date(
"Y");
98 $aVersion = explode(
'.', $sVersion);
99 $sMajorVersion = reset($aVersion);
103 $sSearch =
"</head>";
104 $sReplace =
"</head>\n <!-- OXID eShop {$sEdition}, Version {$sMajorVersion}{$sShopMode}, Shopping Cart System (c) OXID eSales AG 2003 - {$sCurYear} - http://www.oxid-esales.com -->";
106 $sOutput = ltrim($sOutput);
107 if (($pos = stripos($sOutput, $sSearch)) !==
false) {
108 $sOutput = substr_replace($sOutput, $sReplace, $pos, strlen($sSearch));
148 $this->_sCharset = $sCharset;
158 $this->_sOutputFormat = $sFormat;
169 switch ($this->_sOutputFormat) {
170 case self::OUTPUT_FORMAT_JSON:
171 $this->_aBuffer[$sName] = $output;
173 case self::OUTPUT_FORMAT_HTML:
185 switch ($this->_sOutputFormat) {
186 case self::OUTPUT_FORMAT_JSON:
187 echo
getStr()->jsonEncode($this->_aBuffer);
189 case self::OUTPUT_FORMAT_HTML:
200 switch ($this->_sOutputFormat) {
201 case self::OUTPUT_FORMAT_JSON:
202 oxRegistry::getUtils()->setHeader(
"Content-Type: application/json; charset=" . $this->_sCharset);
204 case self::OUTPUT_FORMAT_HTML: