95 if ( !isset( $this->_sViewId ) ) {
113 if ( $oContent && !$this->
_canShowContent( $oContent->oxcontents__oxloadid->value ) ) {
119 $this->_sThisTemplate = $sTpl = $sTplName;
120 } elseif ( $oContent ) {
121 $sTpl = $oContent->getId();
134 $this->
getViewConfig()->setViewConfigParam(
'oxloadid', $oContent->getLoadId() );
151 !$this->
getUser() && !in_array( $sContentIdent, $this->_aPsAllowedContents ) ) {
170 $sMeta = $this->
getContent()->oxcontents__oxtitle->value;
187 $sKeywords = $this->
getContent()->oxcontents__oxtitle->value;
199 if ( $this->_oContentCat === null ) {
201 $this->_oContentCat =
false;
202 if ( ( $oContent = $this->
getContent() ) && $oContent->oxcontents__oxtype->value == 2 ) {
203 $this->_oContentCat = $oContent;
218 if ( $blPlain ===
false ) {
221 ( !$oUser || ( $oUser && !$oUser->isTermsAccepted() ) ) ) {
226 return (
bool) $blPlain;
247 if ( $this->_sContentId === null ) {
252 $this->_sContentId =
false;
253 $oContent =
oxNew(
'oxContent' );
257 $blRes = $oContent->loadByIdent( $sLoadId );
258 } elseif ( $sContentId ) {
259 $blRes = $oContent->load( $sContentId );
262 $blRes = $oContent->loadByIdent(
'oximpressum' );
265 if ( $blRes && $oContent->oxcontents__oxactive->value ) {
266 $this->_sContentId = $oContent->oxcontents__oxid->value;
267 $this->_oContent = $oContent;
281 if ( $this->_oContent === null ) {
282 $this->_oContent =
false;
315 $sTplName = basename( $sTplName );
318 if ( !
getStr()->preg_match(
"/\.tpl$/", $sTplName) ) {
321 $sTplName =
'message/'.$sTplName;
340 $aPath[
'title'] = $oContent->oxcontents__oxtitle->value;
341 $aPath[
'link'] = $this->
getLink();
354 if ( $this->_sContentTitle === null ) {
356 $this->_sContentTitle = $oContent->oxcontents__oxtitle->value;
369 return $this->
getConfig()->getConfigParam(
'blRDFaEmbedding' );
380 $aTemplate = array();
381 $sContentId = $this->
getContent()->oxcontents__oxloadid->value;
383 if ( $sContentId ==
$myConfig->getConfigParam(
'sRDFaBusinessEntityLoc' )) {
386 if ( $sContentId ==
$myConfig->getConfigParam(
'sRDFaDeliveryChargeSpecLoc' )) {
389 if ( $sContentId ==
$myConfig->getConfigParam(
'sRDFaPaymentChargeSpecLoc' )) {
405 foreach ( $this->_aBusinessEntityExtends as $sExtend ) {
406 $aExtends[$sExtend] =
$myConfig->getConfigParam($sExtend);
421 $oPayments =
oxNew(
"oxPaymentList");
422 $oPayments->loadNonRDFaPaymentList();
435 $oDelSets =
oxNew(
"oxDeliverySetList");
436 $oDelSets->loadNonRDFaDeliverySetList();
447 $aDeliveryChargeSpecs = array();
449 foreach ($oDeliveryChargeSpecs as $oDeliveryChargeSpec) {
450 if ($oDeliveryChargeSpec->oxdelivery__oxaddsumtype->value ==
"abs") {
451 $oDelSets =
oxNew(
"oxdeliverysetlist");
452 $oDelSets->loadRDFaDeliverySetList($oDeliveryChargeSpec->getId());
453 $oDeliveryChargeSpec->deliverysetmethods = $oDelSets;
454 $aDeliveryChargeSpecs[] = $oDeliveryChargeSpec;
457 return $aDeliveryChargeSpecs;
467 if ( $this->_oDelList === null ) {
468 $this->_oDelList =
oxNew(
'oxDeliveryList' );
469 $this->_oDelList->getList();
471 return $this->_oDelList;
481 return $this->
getConfig()->getConfigParam(
'iRDFaVAT' );
491 $iDays = $this->
getConfig()->getConfigParam(
'iRDFaPriceValidity' );
493 $iThrough = $iFrom + ($iDays * 24 * 60 * 60);
494 $oPriceValidity = array();
495 $oPriceValidity[
'validfrom'] = date(
'Y-m-d\TH:i:s', $iFrom).
"Z";
496 $oPriceValidity[
'validthrough'] = date(
'Y-m-d\TH:i:s', $iThrough).
"Z";
497 return $oPriceValidity;
509 return $oUtilsView->parseThroughSmarty( $this->
getContent()->oxcontents__oxcontent->value, $this->getContent()->getId(), null, true );