107 if (!isset($this->_sViewId)) {
126 if ($oContent && !$this->
_canShowContent($oContent->oxcontents__oxloadid->value)) {
132 $this->_sThisTemplate = $sTpl = $sTplName;
133 } elseif ($oContent) {
134 $sTpl = $oContent->getId();
147 $this->
getViewConfig()->setViewConfigParam(
'oxloadid', $oContent->getLoadId());
164 !$this->
getUser() && !in_array($sContentIdent, $this->_aPsAllowedContents)
185 $sMeta = $this->
getContent()->oxcontents__oxtitle->value;
203 $sKeywords = $this->
getContent()->oxcontents__oxtitle->value;
216 if ($this->_oContentCat === null) {
218 $this->_oContentCat =
false;
219 if (($oContent = $this->
getContent()) && $oContent->oxcontents__oxtype->value == 2) {
220 $this->_oContentCat = $oContent;
236 if ($blPlain ===
false) {
239 (!$oUser || ($oUser && !$oUser->isTermsAccepted()))
245 return (
bool) $blPlain;
266 if ($this->_sContentId === null) {
271 $this->_sContentId =
false;
272 $oContent =
oxNew(
'oxContent');
276 $blRes = $oContent->loadByIdent($sLoadId);
277 } elseif ($sContentId) {
278 $blRes = $oContent->load($sContentId);
281 $blRes = $oContent->loadByIdent(
'oximpressum');
284 if ($blRes && $oContent->oxcontents__oxactive->value) {
285 $this->_sContentId = $oContent->oxcontents__oxid->value;
286 $this->_oContent = $oContent;
300 if ($this->_oContent === null) {
301 $this->_oContent =
false;
335 $sTplName = basename($sTplName);
338 if (!
getStr()->preg_match(
"/\.tpl$/", $sTplName)) {
341 $sTplName =
'message/' . $sTplName;
360 $aPath[
'title'] = $oContent->oxcontents__oxtitle->value;
361 $aPath[
'link'] = $this->
getLink();
374 if ($this->_sContentTitle === null) {
376 $this->_sContentTitle = $oContent->oxcontents__oxtitle->value;
389 return $this->
getConfig()->getConfigParam(
'blRDFaEmbedding');
400 $aTemplate = array();
401 $sContentId = $this->
getContent()->oxcontents__oxloadid->value;
403 if ($sContentId ==
$myConfig->getConfigParam(
'sRDFaBusinessEntityLoc')) {
406 if ($sContentId ==
$myConfig->getConfigParam(
'sRDFaDeliveryChargeSpecLoc')) {
409 if ($sContentId ==
$myConfig->getConfigParam(
'sRDFaPaymentChargeSpecLoc')) {
426 foreach ($this->_aBusinessEntityExtends as $sExtend) {
427 $aExtends[$sExtend] =
$myConfig->getConfigParam($sExtend);
442 $oPayments =
oxNew(
"oxPaymentList");
443 $oPayments->loadNonRDFaPaymentList();
457 $oDelSets =
oxNew(
"oxDeliverySetList");
458 $oDelSets->loadNonRDFaDeliverySetList();
470 $aDeliveryChargeSpecs = array();
472 foreach ($oDeliveryChargeSpecs as $oDeliveryChargeSpec) {
473 if ($oDeliveryChargeSpec->oxdelivery__oxaddsumtype->value ==
"abs") {
474 $oDelSets =
oxNew(
"oxdeliverysetlist");
475 $oDelSets->loadRDFaDeliverySetList($oDeliveryChargeSpec->getId());
476 $oDeliveryChargeSpec->deliverysetmethods = $oDelSets;
477 $aDeliveryChargeSpecs[] = $oDeliveryChargeSpec;
481 return $aDeliveryChargeSpecs;
491 if ($this->_oDelList === null) {
492 $this->_oDelList =
oxNew(
'oxDeliveryList');
493 $this->_oDelList->getList();
496 return $this->_oDelList;
506 return $this->
getConfig()->getConfigParam(
'iRDFaVAT');
516 $iDays = $this->
getConfig()->getConfigParam(
'iRDFaPriceValidity');
518 $iThrough = $iFrom + ($iDays * 24 * 60 * 60);
519 $oPriceValidity = array();
520 $oPriceValidity[
'validfrom'] = date(
'Y-m-d\TH:i:s', $iFrom) .
"Z";
521 $oPriceValidity[
'validthrough'] = date(
'Y-m-d\TH:i:s', $iThrough) .
"Z";
523 return $oPriceValidity;
531 public function getParsedContent()
535 return $oUtilsView->parseThroughSmarty($this->
getContent()->oxcontents__oxcontent->value, $this->getContent()->getId(), null,
true);