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}";
596 if ($this->_sTrustedShopId == null) {
597 $this->_sTrustedShopId =
false;
599 $aTsType = $oConfig->getConfigParam(
'tsSealType');
600 $sTsActive = $oConfig->getConfigParam(
'tsSealActive');
601 $aTrustedShopIds = $oConfig->getConfigParam(
'iShopID_TrustedShops');
603 if ($sTsActive && $aTrustedShopIds && $aTsType[$iLangId] ==
'CLASSIC') {
605 if (!is_array($aTrustedShopIds) && $iLangId == 0) {
606 $this->_sTrustedShopId = $aTrustedShopIds;
608 if (is_array($aTrustedShopIds)) {
609 $this->_sTrustedShopId = $aTrustedShopIds[$iLangId];
611 if (strlen($this->_sTrustedShopId) != 33 || substr($this->_sTrustedShopId, 0, 1) !=
'X') {
612 $this->_sTrustedShopId =
false;
629 if ($this->_sTSExcellenceId == null) {
630 $this->_sTSExcellenceId =
false;
632 $aTsType = $oConfig->getConfigParam(
'tsSealType');
633 $sTsActive = $oConfig->getConfigParam(
'tsSealActive');
634 $aTrustedShopIds = $oConfig->getConfigParam(
'iShopID_TrustedShops');
636 if ($sTsActive && $aTrustedShopIds && $aTsType[$iLangId] ==
'EXCELLENCE') {
637 $this->_sTSExcellenceId = $aTrustedShopIds[$iLangId];
651 if ($this->_sCharSet == null) {
665 if ($this->_sVersion == null) {
666 $this->_sVersion = $this->
getConfig()->getActiveShop()->oxshops__oxversion->value;
679 return $this->
getConfig()->getActiveShop()->oxshops__oxedition->value;
689 return $this->
getConfig()->getRevision();
699 return $this->
getConfig()->getPackageInfo();
710 $sFullEdition =
"Community Edition";
711 if ($sEdition ==
"PE") {
712 $sFullEdition =
"Professional Edition";
715 if ($sEdition ==
"EE") {
716 $sFullEdition =
"Enterprise Edition";
719 return $sFullEdition;
730 if ($this->_blDemoVersion == null) {
731 $this->_blDemoVersion = $this->
getConfig()->detectVersion() == 1;
744 $blBetaVersion =
false;
746 if (stripos($this->
getConfig()->getVersion(),
'beta') !==
false) {
747 $blBetaVersion =
true;
750 return $blBetaVersion;
760 $blRCVersion =
false;
762 if (stripos($this->
getConfig()->getVersion(),
'rc') !==
false) {
792 if ($this->_blDemoShop == null) {
793 $this->_blDemoShop = $this->
getConfig()->isDemoShop();
806 if ($this->_iNewsStatus === null) {
820 $this->_iNewsStatus = $blShow;
832 if ($this->_sShopLogo === null) {
848 $this->_sShopLogo = $sLogo;
863 if ($this->_oClickCat === null) {
865 $this->_oClickCat =
false;
866 $oCategory =
oxNew(
'oxcategory');
867 if ($oCategory->load($this->getCategoryId())) {
868 $this->_oClickCat = $oCategory;
882 $this->_oClickCat = $oCategory;
892 if ($this->_sCategoryId == null && ($sCatId = $this->
getConfig()->getRequestParameter(
'cnid'))) {
893 $this->_sCategoryId = $sCatId;
906 $this->_sCategoryId = $sCategoryId;
938 if (
$myConfig->getConfigParam(
"bl_showFbConnect")) {
941 return $oFb->isConnected();
956 if ($this->
getConfig()->getConfigParam(
"bl_showFbConnect")) {
959 return $oFb->getUser();
973 if ($this->
getConfig()->getRequestParameter(
"fblogin")) {
1017 if (!$oSession->isActualSidInCookie()) {
1018 $sRet = $oSession->getId();