171 $this->_sThisAction = strtolower(get_class($this));
173 if (!$this->_blIsComponent) {
186 $this->_aViewParams = $aParams;
198 $sValue = (isset($this->_aViewParams[$sKey])) ? $this->_aViewParams[$sKey] : $this->
getConfig()->getRequestParameter($sKey);
210 $this->_blIsCallForCache = $blIsCallForCache;
256 $this->_iNewsStatus = 1;
261 $oViewConf->setViewShop($oShop, $this->_aViewData);
265 $this->_aViewData[
'oView'] = $this;
279 $this->_aViewData[$sPara] = $sValue;
289 if ($sBelboon = $this->
getSession()->getVariable(
'belboon')) {
292 if (($sBelboon = $this->
getConfig()->getRequestParameter(
'belboon'))) {
293 $this->
getSession()->setVariable(
'belboon', $sBelboon);
306 if ($this->_oViewConf === null) {
307 $this->_oViewConf =
oxNew(
'oxViewConfig');
330 $this->_sThisTemplate = $sTemplate;
340 $this->_sClass = $sClassName;
360 $this->_sFnc = $sFncName;
380 $this->_aViewData = $aViewData;
402 if ($sParamId && isset($this->_aViewData[$sParamId])) {
403 return $this->_aViewData[$sParamId];
414 $this->_sClassLocation = $sClassLocation;
434 $this->_sThisAction = $sThisAction;
454 $this->_oParent = $oParent;
474 $this->_blIsComponent = $blIsComponent;
498 if ($sFunction && !self::$_blExecuted) {
499 if (method_exists($this, $sFunction)) {
502 $sNewAction = $this->$sFunction();
503 self::$_blExecuted =
true;
505 if (isset ($sNewAction)) {
510 if (!$this->_blIsComponent) {
512 $oEx =
oxNew(
'oxSystemComponentException');
513 $oEx->setMessage(
'ERROR_MESSAGE_SYSTEMCOMPONENT_FUNCTIONNOTFOUND');
514 $oEx->setComponent($sFunction);
536 $aParams = explode(
'?', $sNewAction);
539 $sPageParams = isset($aParams[1]) ? $aParams[1] : null;
542 $aParams = explode(
'/', $aParams[0]);
543 $sClassName = $aParams[0];
546 if (
false === class_exists($sRealClassName)) {
550 $oException =
oxNew(
'oxSystemComponentException');
551 $oException->setMessage(
'ERROR_MESSAGE_SYSTEMCOMPONENT_CLASSNOTFOUND');
552 $oException->setComponent($sClassName);
557 $sHeader = ($sClassName) ?
"cl=$sClassName&" :
'';
558 $sHeader .= ($sPageParams) ?
"$sPageParams&" :
'';
563 $sUrl =
"{$sUrl}index.php?{$sHeader}";
594 if ($this->_sTrustedShopId == null) {
595 $this->_sTrustedShopId =
false;
597 $aTsType = $oConfig->getConfigParam(
'tsSealType');
598 $sTsActive = $oConfig->getConfigParam(
'tsSealActive');
599 $aTrustedShopIds = $oConfig->getConfigParam(
'iShopID_TrustedShops');
601 if ($sTsActive && $aTrustedShopIds && $aTsType[$iLangId] ==
'CLASSIC') {
603 if (!is_array($aTrustedShopIds) && $iLangId == 0) {
604 $this->_sTrustedShopId = $aTrustedShopIds;
606 if (is_array($aTrustedShopIds)) {
607 $this->_sTrustedShopId = $aTrustedShopIds[$iLangId];
609 if (strlen($this->_sTrustedShopId) != 33 || substr($this->_sTrustedShopId, 0, 1) !=
'X') {
610 $this->_sTrustedShopId =
false;
625 if ($this->_sTSExcellenceId == null) {
626 $this->_sTSExcellenceId =
false;
628 $aTsType = $oConfig->getConfigParam(
'tsSealType');
629 $sTsActive = $oConfig->getConfigParam(
'tsSealActive');
630 $aTrustedShopIds = $oConfig->getConfigParam(
'iShopID_TrustedShops');
632 if ($sTsActive && $aTrustedShopIds && $aTsType[$iLangId] ==
'EXCELLENCE') {
633 $this->_sTSExcellenceId = $aTrustedShopIds[$iLangId];
647 if ($this->_sCharSet == null) {
661 if ($this->_sVersion == null) {
662 $this->_sVersion = $this->
getConfig()->getActiveShop()->oxshops__oxversion->value;
675 return $this->
getConfig()->getActiveShop()->oxshops__oxedition->value;
685 return $this->
getConfig()->getRevision();
695 return $this->
getConfig()->getPackageInfo();
706 $sFullEdition =
"Community Edition";
707 if ($sEdition ==
"PE") {
708 $sFullEdition =
"Professional Edition";
711 if ($sEdition ==
"EE") {
712 $sFullEdition =
"Enterprise Edition";
715 return $sFullEdition;
726 if ($this->_blDemoVersion == null) {
727 $this->_blDemoVersion = $this->
getConfig()->detectVersion() == 1;
740 $blBetaVersion =
false;
742 if (stripos($this->
getConfig()->getVersion(),
'beta') !==
false) {
743 $blBetaVersion =
true;
746 return $blBetaVersion;
756 $blRCVersion =
false;
758 if (stripos($this->
getConfig()->getVersion(),
'rc') !==
false) {
788 if ($this->_blDemoShop == null) {
789 $this->_blDemoShop = $this->
getConfig()->isDemoShop();
802 if ($this->_iNewsStatus === null) {
816 $this->_iNewsStatus = $blShow;
828 if ($this->_sShopLogo === null) {
844 $this->_sShopLogo = $sLogo;
859 if ($this->_oClickCat === null) {
861 $this->_oClickCat =
false;
862 $oCategory =
oxNew(
'oxcategory');
863 if ($oCategory->load($this->getCategoryId())) {
864 $this->_oClickCat = $oCategory;
878 $this->_oClickCat = $oCategory;
888 if ($this->_sCategoryId == null && ($sCatId = $this->
getConfig()->getRequestParameter(
'cnid'))) {
889 $this->_sCategoryId = $sCatId;
902 $this->_sCategoryId = $sCategoryId;
932 if (
$myConfig->getConfigParam(
"bl_showFbConnect")) {
935 return $oFb->isConnected();
948 if ($this->
getConfig()->getConfigParam(
"bl_showFbConnect")) {
951 return $oFb->getUser();
963 if ($this->
getConfig()->getRequestParameter(
"fblogin")) {
1007 if (!$oSession->isActualSidInCookie()) {
1008 $sRet = $oSession->getId();