175 $this->_sThisAction = strtolower(get_class($this));
177 if (!$this->_blIsComponent) {
190 $this->_aViewParams = $aParams;
202 $sValue = (isset($this->_aViewParams[$sKey])) ? $this->_aViewParams[$sKey] : $this->
getConfig()->getRequestParameter($sKey);
214 $this->_blIsCallForCache = $blIsCallForCache;
260 $this->_iNewsStatus = 1;
265 $oViewConf->setViewShop($oShop, $this->_aViewData);
269 $this->_aViewData[
'oView'] = $this;
283 $this->_aViewData[$sPara] = $sValue;
293 if ($sBelboon = $this->
getSession()->getVariable(
'belboon')) {
296 if (($sBelboon = $this->
getConfig()->getRequestParameter(
'belboon'))) {
297 $this->
getSession()->setVariable(
'belboon', $sBelboon);
310 if ($this->_oViewConf === null) {
311 $this->_oViewConf =
oxNew(
'oxViewConfig');
334 $this->_sThisTemplate = $sTemplate;
344 $this->_sClass = $sClassName;
364 $this->_sFnc = $sFncName;
384 $this->_aViewData = $aViewData;
406 if ($sParamId && isset($this->_aViewData[$sParamId])) {
407 return $this->_aViewData[$sParamId];
418 $this->_sClassLocation = $sClassLocation;
438 $this->_sThisAction = $sThisAction;
458 $this->_oParent = $oParent;
478 $this->_blIsComponent = $blIsComponent;
502 if ($sFunction && !self::$_blExecuted) {
503 if (method_exists($this, $sFunction)) {
506 $sNewAction = $this->$sFunction();
507 self::$_blExecuted =
true;
509 if (isset ($sNewAction)) {
514 if (!$this->_blIsComponent) {
516 $oEx =
oxNew(
'oxSystemComponentException');
517 $oEx->setMessage(
'ERROR_MESSAGE_SYSTEMCOMPONENT_FUNCTIONNOTFOUND');
518 $oEx->setComponent($sFunction);
540 $aParams = explode(
'?', $sNewAction);
543 $sPageParams = isset($aParams[1]) ? $aParams[1] : null;
546 $aParams = explode(
'/', $aParams[0]);
547 $sClassName = $aParams[0];
550 if (
false === class_exists($sRealClassName)) {
554 $oException =
oxNew(
'oxSystemComponentException');
555 $oException->setMessage(
'ERROR_MESSAGE_SYSTEMCOMPONENT_CLASSNOTFOUND');
556 $oException->setComponent($sClassName);
561 $sHeader = ($sClassName) ?
"cl=$sClassName&" :
'';
562 $sHeader .= ($sPageParams) ?
"$sPageParams&" :
'';
567 $sUrl =
"{$sUrl}index.php?{$sHeader}";
600 if ($this->_sTrustedShopId == null) {
601 $this->_sTrustedShopId =
false;
603 $aTsType = $oConfig->getConfigParam(
'tsSealType');
604 $sTsActive = $oConfig->getConfigParam(
'tsSealActive');
605 $aTrustedShopIds = $oConfig->getConfigParam(
'iShopID_TrustedShops');
607 if ($sTsActive && $aTrustedShopIds && $aTsType[$iLangId] ==
'CLASSIC') {
609 if (!is_array($aTrustedShopIds) && $iLangId == 0) {
610 $this->_sTrustedShopId = $aTrustedShopIds;
612 if (is_array($aTrustedShopIds)) {
613 $this->_sTrustedShopId = $aTrustedShopIds[$iLangId];
615 if (strlen($this->_sTrustedShopId) != 33 || substr($this->_sTrustedShopId, 0, 1) !=
'X') {
616 $this->_sTrustedShopId =
false;
633 if ($this->_sTSExcellenceId == null) {
634 $this->_sTSExcellenceId =
false;
636 $aTsType = $oConfig->getConfigParam(
'tsSealType');
637 $sTsActive = $oConfig->getConfigParam(
'tsSealActive');
638 $aTrustedShopIds = $oConfig->getConfigParam(
'iShopID_TrustedShops');
640 if ($sTsActive && $aTrustedShopIds && $aTsType[$iLangId] ==
'EXCELLENCE') {
641 $this->_sTSExcellenceId = $aTrustedShopIds[$iLangId];
655 if ($this->_sCharSet == null) {
669 if ($this->_sVersion == null) {
670 $this->_sVersion = $this->
getConfig()->getActiveShop()->oxshops__oxversion->value;
683 return $this->
getConfig()->getActiveShop()->oxshops__oxedition->value;
693 return $this->
getConfig()->getRevision();
703 return $this->
getConfig()->getPackageInfo();
714 $sFullEdition =
"Community Edition";
715 if ($sEdition ==
"PE") {
716 $sFullEdition =
"Professional Edition";
719 if ($sEdition ==
"EE") {
720 $sFullEdition =
"Enterprise Edition";
723 return $sFullEdition;
734 if ($this->_blDemoVersion == null) {
735 $this->_blDemoVersion = $this->
getConfig()->detectVersion() == 1;
748 $blBetaVersion =
false;
750 if (stripos($this->
getConfig()->getVersion(),
'beta') !==
false) {
751 $blBetaVersion =
true;
754 return $blBetaVersion;
764 $blRCVersion =
false;
766 if (stripos($this->
getConfig()->getVersion(),
'rc') !==
false) {
796 if ($this->_blDemoShop == null) {
797 $this->_blDemoShop = $this->
getConfig()->isDemoShop();
810 if ($this->_iNewsStatus === null) {
824 $this->_iNewsStatus = $blShow;
836 if ($this->_sShopLogo === null) {
852 $this->_sShopLogo = $sLogo;
867 if ($this->_oClickCat === null) {
869 $this->_oClickCat =
false;
870 $oCategory =
oxNew(
'oxcategory');
871 if ($oCategory->load($this->getCategoryId())) {
872 $this->_oClickCat = $oCategory;
886 $this->_oClickCat = $oCategory;
896 if ($this->_sCategoryId == null && ($sCatId = $this->
getConfig()->getRequestParameter(
'cnid'))) {
897 $this->_sCategoryId = $sCatId;
910 $this->_sCategoryId = $sCategoryId;
942 if (
$myConfig->getConfigParam(
"bl_showFbConnect")) {
945 return $oFb->isConnected();
960 if ($this->
getConfig()->getConfigParam(
"bl_showFbConnect")) {
963 return $oFb->getUser();
977 if ($this->
getConfig()->getRequestParameter(
"fblogin")) {
1021 if (!$oSession->isActualSidInCookie()) {
1022 $sRet = $oSession->getId();