80             $iLang = $oLang->getBaseLanguage();
 
   84             $blAddStartCl = $myUtils->seoIsActive() && ($iLang != 
$myConfig->getConfigParam(
'sDefaultLang'));
 
   93                 $sValue = 
getStr()->preg_replace(
'/(\?|&(amp;)?)$/', 
'', $sValue);
 
  115         if (!$sTplName && $this->
getConfig()->getTopActiveView()) {
 
  116             $sTplName = $this->
getConfig()->getTopActiveView()->getViewConfig()->getViewConfigParam(
'oxloadid');
 
  119         return $sTplName ? basename($sTplName) : null;
 
  139         return $this->
getConfig()->getShopCurrency();
 
  166         return ($oConfig->isSsl() ? $oConfig->getShopSecureHomeUrl() : $oConfig->getShopHomeUrl())
 
  168                . ($sCatnid ? 
"&cnid={$sCatnid}" : 
'')
 
  169                . ($sArtnid ? 
"&anid={$sArtnid}" : 
'')
 
  170                . ($sMnfid ? 
"&mnid={$sMnfid}" : 
'')
 
  171                . ($sSearchParam ? 
"&searchparam={$sSearchParam}" : 
'')
 
  173                . ($sSearchTag ? 
"&searchtag={$sSearchTag}" : 
'')
 
  176                . ($sRecommId ? 
"&recommid={$sRecommId}" : 
'')
 
  178                . ($sListType ? 
"&listtype={$sListType}" : 
'')
 
  180                . ($sTplName ? 
"&tpl=" . basename($sTplName) : 
'')
 
  181                . ($sContentLoadId ? 
"&oxloadid=" . $sContentLoadId : 
'')
 
  194         return array(
'oxhelp' . strtolower($sClass), 
'oxhelpdefault');
 
  204         if ($this->_sHelpPageLink === null) {
 
  205             $this->_sHelpPageLink = 
"";
 
  207             $oContent = 
oxNew(
"oxContent");
 
  208             foreach ($aContentIdents as $sIdent) {
 
  209                 if ($oContent->loadByIdent($sIdent)) {
 
  210                     $this->_sHelpPageLink = $oContent->getLink();
 
  313         startProfile(
'oxviewconfig::setViewConfigParam');
 
  315         $this->_aConfigParams[$sName] = $sValue;
 
  317         stopProfile(
'oxviewconfig::setViewConfigParam');
 
  329         startProfile(
'oxviewconfig::getViewConfigParam');
 
  331         if ($this->_oShop && isset($this->_oShop->$sName)) {
 
  332             $sValue = $this->_oShop->$sName;
 
  333         } elseif ($this->_aViewData && isset($this->_aViewData[$sName])) {
 
  334             $sValue = $this->_aViewData[$sName];
 
  336             $sValue = (isset($this->_aConfigParams[$sName]) ? $this->_aConfigParams[$sName] : null);
 
  339         stopProfile(
'oxviewconfig::getViewConfigParam');
 
  353         $this->_oShop = $oShop;
 
  354         $this->_aViewData = $aViewData;
 
  386                 $sValue .= 
"\n{$sLang}";
 
  404             $sValue = $this->
getConfig()->getShopHomeURL();
 
  424             $sValue = $this->
getConfig()->getShopSecureHomeURL();
 
  441                 $sValue = $this->
getConfig()->getSSLShopURL();
 
  443                 $sValue = $this->
getConfig()->getShopURL();
 
  460             $sValue = $this->
getConfig()->getCoreUtilsURL();
 
  475             $sValue = $this->
getConfig()->getShopCurrentUrl();
 
  490             $sValue = $this->
getConfig()->getCurrentShopUrl();
 
  505             $sValue = $this->
getConfig()->getShopHomeURL() . 
'cl=basket';
 
  520             $sValue = $this->
getConfig()->getShopSecureHomeUrl() . 
'cl=user';
 
  535             $sValue = $this->
getConfig()->getShopSecureHomeUrl() . 
'cl=payment';
 
  550             $sValue = $this->
getConfig()->getShopSecureHomeUrl() . 
'cl=order&fnc=execute';
 
  565             $sValue = $this->
getConfig()->getShopSecureHomeUrl() . 
'cl=order';
 
  632             $sValue = $this->
getConfig()->getImageUrl($this->
isAdmin(), $bSsl, null, $sFile);
 
  680             $sValue = $this->
getConfig()->getConfigParam(
'sAdminDir');
 
  695             $sValue = $this->
getConfig()->getShopId();
 
  741             $sValue = md5($this->
getConfig()->getShopUrl());
 
  756             $sValue = md5(time());
 
  771             $sValue = $this->
getConfig()->getShopCurrentUrl();
 
  785         return $this->
getConfig()->getConfigParam(
'blVariantParentBuyable');
 
  795         return $this->
getConfig()->getConfigParam(
'blShowBirthdayFields');
 
  819         if (is_null($sListType)) {
 
  823         if (
'grid' === $sListType) {
 
  829         return $aNrOfCatArticles;
 
  839         return $this->
getConfig()->getConfigParam(
'bl_showWishlist');
 
  850         $blShowCompareList = 
true;
 
  852         if (!
$myConfig->getConfigParam(
'bl_showCompareList') ||
 
  853             (
$myConfig->getConfigParam(
'blDisableNavBars') && 
$myConfig->getActiveView()->getIsOrderStep())
 
  855             $blShowCompareList = 
false;
 
  858         return $blShowCompareList;
 
  870         return $this->
getConfig()->getConfigParam(
'bl_showListmania');
 
  880         return $this->
getConfig()->getConfigParam(
'bl_showVouchers');
 
  890         return $this->
getConfig()->getConfigParam(
'bl_showGiftWrapping');
 
  926         return $this->
getConfig()->getActiveView()->getClassName();
 
  937         return $this->
getConfig()->getTopActiveView()->getClassName();
 
  959             $aNavParams = $this->
getConfig()->getActiveView()->getNavigationParams();
 
  960             foreach ($aNavParams as $sName => $sValue) {
 
  961                 if (isset($sValue)) {
 
  965                     $sParams .= 
"{$sName}=" . rawurlencode($sValue);
 
  969                 $sParams = 
'&' . $sParams;
 
  988             $aNavParams = $this->
getConfig()->getTopActiveView()->getNavigationParams();
 
  989             foreach ($aNavParams as $sName => $sValue) {
 
  990                 if (isset($sValue)) {
 
  991                     $sParams .= 
"<input type=\"hidden\" name=\"{$sName}\" value=\"";
 
  992                     $sParams .= $oStr->htmlentities($sValue) . 
"\" />\n";
 
 1008         return $this->
getConfig()->getConfigParam(
'blStockOnDefaultMessage');
 
 1018         return $this->
getConfig()->getConfigParam(
'blStockOffDefaultMessage');
 
 1048         $oShop = $this->
getConfig()->getActiveShop();
 
 1050         return isset($oShop->oxshops__oxismultishop) ? ((bool) $oShop->oxshops__oxismultishop->value) : 
false;
 
 1084         return $this->
getConfig()->getActiveView()->getActionClassName();
 
 1095         return $this->
getConfig()->getTopActiveView()->getActionClassName();
 
 1107         return $this->
getConfig()->getConfigParam(
'sFbAppId');
 
 1117         return $this->
getConfig()->getConfigParam(
'blPsBasketReservationEnabled')
 
 1118                && ($this->
getSession()->getBasketReservations()->getTimeLeft() > 0);
 
 1128         if (!isset($this->_dBasketTimeLeft)) {
 
 1129             $this->_dBasketTimeLeft = $this->
getSession()->getBasketReservations()->getTimeLeft();
 
 1132         return $this->_dBasketTimeLeft;
 
 1147         if (
$myConfig->getConfigParam(
'bl_showFbConnect')) {
 
 1148             if (
$myConfig->getConfigParam(
"sFbAppId") && 
$myConfig->getConfigParam(
"sFbSecretKey")) {
 
 1166         $aTsConfig = $this->
getConfig()->getConfigParam(
"aTsConfig");
 
 1167         if (is_array($aTsConfig)) {
 
 1168             $sDomain = $aTsConfig[
"blTestMode"] ? $aTsConfig[
"sTsTestUrl"] : $aTsConfig[
"sTsUrl"];
 
 1183         if ($this->_aTrustedShopRatings === null) {
 
 1186                 $oTsRatings = 
oxNew(
"oxTsRatings");
 
 1187                 $oTsRatings->setTsId($sTsId);
 
 1188                 $this->_aTrustedShopRatings = $oTsRatings->getRatings();
 
 1212             $aTsConfig = $this->
getConfig()->getConfigParam(
"aTsConfig");
 
 1213             if (isset($aTsConfig[
"sTsRatingUri"]) && isset($aTsConfig[
"sTsRatingUri"][$sLangId])) {
 
 1214                 $sTsRateUri = $aTsConfig[
"sTsRatingUri"][$sLangId];
 
 1216                 $sTsRateUri = 
false;
 
 1219             if ($sTsUrl && $sTsRateUri) {
 
 1220                 $sUrl = sprintf(
"{$sTsUrl}/{$sTsRateUri}", $sTsId);
 
 1241                 $blShow = (bool) $this->
getConfig()->getConfigParam(
"blTsWidget");
 
 1244                 $blShow = (bool) $this->
getConfig()->getConfigParam(
"blTsThankyouReview");
 
 1247                 $blShow = (bool) $this->
getConfig()->getConfigParam(
"blTsOrderEmailReview");
 
 1249             case "ORDERCONFEMAIL":
 
 1250                 $blShow = (bool) $this->
getConfig()->getConfigParam(
"blTsOrderSendEmailReview");
 
 1268         $aLangIds = $oConfig->getConfigParam(
"aTsLangIds");
 
 1269         $aActInfo = $oConfig->getConfigParam(
"aTsActiveLangIds");
 
 1273         if (isset($aActInfo[$sLangId]) && $aActInfo[$sLangId] &&
 
 1274             isset($aLangIds[$sLangId]) && $aLangIds[$sLangId]
 
 1276             $sTsId = $aLangIds[$sLangId];
 
 1289         return (
bool) $this->
getConfig()->getConfigParam(
'blDebugTemplateBlocks');
 
 1299         $iPasswordLength = 6;
 
 1303         if ($oConfig->getConfigParam(
"iPasswordLength")) {
 
 1304             $iPasswordLength = $oConfig->getConfigParam(
"iPasswordLength");
 
 1307         return $iPasswordLength;
 
 1317         if ($this->_oCountryList === null) {
 
 1319             $this->_oCountryList = 
oxNew(
'oxcountrylist');
 
 1320             $this->_oCountryList->loadActiveCountries();
 
 1339         if (!$sFile || ($sFile[0] != 
'/')) {
 
 1340             $sFile = 
'/' . $sFile;
 
 1342         $oModule = 
oxNew(
"oxmodule");
 
 1343         $sModulePath = $oModule->getModulePath($sModule);
 
 1344         $sFile = $this->
getConfig()->getModulesDir() . $sModulePath . $sFile;
 
 1345         if (file_exists($sFile) || is_dir($sFile)) {
 
 1349             $oEx = 
oxNew(
"oxFileException", 
"Requested file not found for module $sModule ($sFile)");
 
 1351             if (!$this->
getConfig()->getConfigParam(
'iDebug')) {
 
 1375                 $shopUrl = $c->getConfigParam(
'sAdminSSLURL');
 
 1378                     $adminDir = 
'/'.$c->getConfigParam(
'sAdminDir');
 
 1379                     $shopUrl = substr($shopUrl, 0, -strlen($adminDir));
 
 1382                     $shopUrl = $c->getConfigParam(
'sSSLShopURL');
 
 1387                 $shopUrl = $c->getConfigParam(
'sShopURL');
 
 1392             $shopUrl = $c->getCurrentShopUrl();
 
 1394         $shopUrl = rtrim($shopUrl, 
'/');
 
 1396         $sUrl = str_replace(
 
 1397             rtrim($c->getConfigParam(
'sShopDir'), 
'/'),
 
 1417         $blModuleIsActive = 
false;
 
 1420         $aModuleVersions = $this->
getConfig()->getConfigParam(
'aModuleVersions');
 
 1422         if (is_array($aModuleVersions)) {
 
 1423             $blModuleIsActive = $this->
_moduleExists($sModuleId, $aModuleVersions);
 
 1425             if ($blModuleIsActive) {
 
 1430         return $blModuleIsActive;
 
 1444         if ($this->
getConfig()->isThemeOption($sName)) {
 
 1445             $sValue = $this->
getConfig()->getConfigParam($sName);
 
 1459         return (
bool) $this->
getConfig()->getConfigParam(
'bl_perfLoadSelectLists');
 
 1483         return $oConfig->getConfigParam(
'sAltImageUrl') || $oConfig->getConfigParam(
'sSSLAltImageUrl') ||
 
 1484                $oConfig->getConfigParam(
'sAltImageDir') || $oConfig->getConfigParam(
'sSSLAltImageDir');
 
 1496         return (
bool) $this->
getConfig()->getConfigParam($sParamName);
 
 1506         if ($this->_sActiveTheme === null) {
 
 1507             $oTheme = 
oxNew(
'oxTheme');
 
 1508             $this->_sActiveTheme = $oTheme->getActiveThemeId();
 
 1521         if (is_null($this->_sShopLogo)) {
 
 1523             $sLogoImage = $this->
getConfig()->getConfigParam(
'sShopLogo');
 
 1524             if (empty($sLogoImage)) {
 
 1525                 $sLogoImage = 
"logo.png";
 
 1541         $this->_sShopLogo = $sLogo;
 
 1552             $sessionChallengeToken = $this->
getSession()->getSessionChallengeToken();
 
 1554             $sessionChallengeToken = 
"";
 
 1557         return $sessionChallengeToken;
 
 1570         $blModuleExists = 
false;
 
 1572         if (in_array($sModuleId, array_keys($aModuleVersions) )) {
 
 1573             $blModuleExists = 
true;
 
 1576         return $blModuleExists;
 
 1588         $blModuleIsActive = 
false;
 
 1590         $aDisabledModules = $this->
getConfig()->getConfigParam(
'aDisabledModules');
 
 1591         if (!(is_array($aDisabledModules) && in_array($sModuleId, $aDisabledModules))) {
 
 1592             $blModuleIsActive = 
true;
 
 1594         return $blModuleIsActive;
 
 1608         $blModuleIsActive = 
true;
 
 1610         $aModuleVersions = $this->
getConfig()->getConfigParam(
'aModuleVersions');
 
 1612         if ($sVersionFrom && !version_compare($aModuleVersions[$sModuleId], $sVersionFrom, 
'>=')) {
 
 1613             $blModuleIsActive = 
false;
 
 1616         if ($blModuleIsActive && $sVersionTo && !version_compare($aModuleVersions[$sModuleId], $sVersionTo, 
'<')) {
 
 1617             $blModuleIsActive = 
false;
 
 1620         return $blModuleIsActive;
 
 1630         return $this->
getConfig()->getEdition();