public function render()
 {
     parent::render();
     $this->createJsonFile();
     $this->getLocation();
     return $this->_sThisTemplate;
 }
 public function render()
 {
     /** @var $oRakuten rakuten_checkout */
     $oRakuten = oxNew('rakuten_checkout');
     // Check which method will be used: Standard or Inline
     if ($this->getConfig()->getShopConfVar('sRakutenIntegrationMethod', -1) == 'STANDARD') {
         // Redirect to Rakuten Checkout
         if ($redirectUrl = $oRakuten->getRedirectUrl()) {
             // Received redirect URL
             oxUtils::getInstance()->redirect($redirectUrl, false, 302);
         } else {
             // Error returned, redirecting to the shopping cart
             oxUtils::getInstance()->redirect($this->_getBasketUrl(), false, 302);
         }
     } elseif ($this->getConfig()->getShopConfVar('sRakutenIntegrationMethod', -1) == 'INLINE') {
         // Inline integration (iFrame)
         if ($inlineCode = $oRakuten->getRedirectUrl(true)) {
             // Loading iFrame
             $this->_aViewData['oxidBlock_content'][] = $inlineCode;
             return parent::render();
         } else {
             // Error returned, redirecting to the shopping cart
             oxUtils::getInstance()->redirect($this->_getBasketUrl(), false, 302);
         }
     } else {
         // Unknown integration method
         oxUtilsView::getInstance()->addErrorToDisplay('Unknown integration method.');
         oxUtils::getInstance()->redirect($this->_getBasketUrl(), false, 302);
     }
     return false;
 }
Exemplo n.º 3
0
 /**
  * Ueberladen die Render
  *
  * @author Rafal  Wesolowski
  * @return string
  */
 public function render()
 {
     parent::render();
     $this->_aViewData["sOxid"] = $sOxid = oxConfig::getParameter("oxid");
     $this->_getModulesAnalize();
     $this->_aViewData["sView"] = __CLASS__;
     return $this->_sThisTemplate;
 }
Exemplo n.º 4
0
 /**
  * If tags are ON - returns parent::render() value, else - displays 404
  * page, as tags are off
  *
  * @return string
  */
 public function render()
 {
     // if tags are off - showing 404 page
     if (!$this->showTags()) {
         error_404_handler();
     }
     return parent::render();
 }
 /**
  * Standard render function
  */
 public function render()
 {
     parent::render();
     $this->_debug = oxRegistry::getConfig()->getRequestParameter("debug");
     $this->setArticlesHidden();
     $this->setArticlesVisible();
     // do not return template name, just die...
     exit;
 }
Exemplo n.º 6
0
 /**
  * Executes parent method parent::render(), returns name of template file.
  *
  * @return  string  $sTplName   template file name
  */
 public function render()
 {
     parent::render();
     // security fix so that you cant access files from outside template dir
     $sTplName = basename((string) oxRegistry::getConfig()->getRequestParameter("tpl"));
     if ($sTplName) {
         $sTplName = 'custom/' . $sTplName;
     }
     return $sTplName;
 }
Exemplo n.º 7
0
 /**
  * Executes parent::render(), if invitation is disabled - redirects to main page
  *
  * @return string
  */
 public function render()
 {
     $oConfig = $this->getConfig();
     if (!$oConfig->getConfigParam("blInvitationsEnabled")) {
         oxUtils::getInstance()->redirect($oConfig->getShopHomeURL());
         return;
     }
     parent::render();
     return $this->_sThisTemplate;
 }
 /**
  * Renders error screen
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $errorNumber = oxRegistry::getConfig()->getRequestParameter('execerror');
     $templates = $this->getErrorTemplates();
     if (array_key_exists($errorNumber, $templates)) {
         return $templates[$errorNumber];
     } else {
         return 'message/err_unknown.tpl';
     }
 }
Exemplo n.º 9
0
 /**
  * Executes parent::render(), loads article list according active tag
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     oxUBase::render();
     $oArticleList = $this->getArticleList();
     // if tags are off or no articles - showing 404 header (#2139)
     if (!$this->showTags() || !$oArticleList) {
         error_404_handler();
     }
     // processing list articles
     $this->_processListArticles();
     return $this->_sThisTemplate;
 }
Exemplo n.º 10
0
 /**
  * Loads delivery, deliveryset list info and returns name of template file
  * to render info::_sThisTemplate. If no template name specified - will
  * load "impressum" content
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     parent::render();
     if (!$this->getTemplateName()) {
         //  get default page
         $oContent = $this->getContent();
         $this->getViewConfig()->setViewConfigParam('tpl', $oContent->getId());
         $this->_sThisTemplate = 'page/info/content.tpl';
     } else {
         $this->getViewConfig()->setViewConfigParam('tpl', $this->getTemplateName());
     }
     return $this->_sThisTemplate;
 }
Exemplo n.º 11
0
 /**
  * Renders error screen
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $sErrorNo = oxConfig::getParameter('execerror');
     $sTemplate = '';
     if ($sErrorNo == 'unknown') {
         $sTemplate = 'message/err_unknown.tpl';
     }
     if ($sTemplate) {
         return $sTemplate;
     } else {
         return 'start.tpl';
     }
 }
Exemplo n.º 12
0
 /**
  * Renders error screen
  *
  * @return string
  */
 public function render()
 {
     parent::render();
     $sErrorNo = oxRegistry::getConfig()->getRequestParameter('execerror');
     $sTemplate = '';
     if ($sErrorNo == 'unknown') {
         $sTemplate = 'message/err_unknown.tpl';
     }
     if ($sTemplate) {
         return $sTemplate;
     } else {
         return 'message/err_unknown.tpl';
     }
 }
Exemplo n.º 13
0
 public function render()
 {
     parent::render();
     if ($this->err == 'API KEY INVALID') {
         oxRegistry::getUtils()->setHeader("HTTP/1.0 401 Unauthorized");
     }
     oxRegistry::getUtils()->setHeader("Content-Type: application/json; charset=" . oxRegistry::getLang()->translateString("charset"));
     $oSmarty = oxRegistry::get("oxUtilsView")->getSmarty();
     $this->_aViewData['errmsg'] = $this->err;
     $this->_aViewData['haserror'] = $this->err !== false;
     $this->_aViewData['data'] = $this->data;
     foreach (array_keys($this->_aViewData) as $sViewName) {
         $oSmarty->assign_by_ref($sViewName, $this->_aViewData[$sViewName]);
     }
     oxRegistry::getUtils()->showMessageAndExit($oSmarty->fetch($this->_sThisTemplate, $this->getViewId()));
 }
Exemplo n.º 14
0
 /**
  * Renders requested RSS feed
  *
  * Template variables:
  * <b>rss</b>
  */
 public function render()
 {
     parent::render();
     $oSmarty = oxRegistry::get("oxUtilsView")->getSmarty();
     // #2873: In demoshop for RSS we set php_handling to SMARTY_PHP_PASSTHRU
     // as SMARTY_PHP_REMOVE removes not only php tags, but also xml
     if ($this->getConfig()->isDemoShop()) {
         $oSmarty->php_handling = SMARTY_PHP_PASSTHRU;
     }
     foreach (array_keys($this->_aViewData) as $sViewName) {
         $oSmarty->assign_by_ref($sViewName, $this->_aViewData[$sViewName]);
     }
     // return rss xml, no further processing
     $sCharset = oxRegistry::getLang()->translateString("charset");
     oxRegistry::getUtils()->setHeader("Content-Type: text/xml; charset=" . $sCharset);
     oxRegistry::getUtils()->showMessageAndExit($this->_processOutput($oSmarty->fetch($this->_sThisTemplate, $this->getViewId())));
 }
Exemplo n.º 15
0
 /**
  * Renders requested RSS feed
  *
  * Template variables:
  * <b>rss</b>
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     parent::render();
     $oSmarty = oxUtilsView::getInstance()->getSmarty();
     // #2873: In demoshop for RSS we set php_handling to SMARTY_PHP_PASSTHRU
     // as SMARTY_PHP_REMOVE removes not only php tags, but also xml
     if ($this->getConfig()->isDemoShop()) {
         $oSmarty->php_handling = SMARTY_PHP_PASSTHRU;
     }
     foreach (array_keys($this->_aViewData) as $sViewName) {
         $oSmarty->assign_by_ref($sViewName, $this->_aViewData[$sViewName]);
     }
     // variables are set as deprecated, use getters
     // $oSmarty->assign('xmldef', $this->getXmlDef());
     // return rss xml, no further processing
     oxUtils::getInstance()->setHeader("Content-Type: text/xml; charset=" . oxLang::getInstance()->translateString("charset"));
     oxUtils::getInstance()->showMessageAndExit($this->_processOutput($oSmarty->fetch($this->_sThisTemplate, $this->getViewId())));
 }
Exemplo n.º 16
0
 /**
  * Executes parent::render(), passes template variables to
  * template engine and generates content. Returns the name
  * of template to render content::_sThisTemplate
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     parent::render();
     $oContent = $this->getContent();
     if ($oContent && !$this->_canShowContent($oContent->oxcontents__oxloadid->value)) {
         oxUtils::getInstance()->redirect($this->getConfig()->getShopHomeURL() . 'cl=account');
     }
     $sTpl = false;
     if ($sTplName = $this->_getTplName()) {
         $this->_sThisTemplate = $sTpl = $sTplName;
     } elseif ($oContent) {
         $sTpl = $oContent->getId();
     }
     if (!$sTpl) {
         error_404_handler();
     }
     // sometimes you need to display plain templates (e.g. when showing popups)
     if ($this->showPlainTemplate()) {
         $this->_sThisTemplate = $this->_sThisPlainTemplate;
     }
     $this->getViewConfig()->setViewConfigParam('tpl', $sTpl);
     return $this->_sThisTemplate;
 }
Exemplo n.º 17
0
 public function render()
 {
     parent::render();
     if (!empty($this->_username)) {
         $ret = $this->_util->getRemoteContent($this->_username);
         $this->_ret = $ret;
         if (isset($ret['status'])) {
             oxRegistry::getUtils()->setHeader("HTTP/1.0 " . $ret['status']);
         }
         $this->setMetaDescription($ret['meta']['description']);
         unset($ret['meta']['description']);
         $this->getConfig()->setConfigParam('sFbAppId', '');
         // set this to empty because we will overwrite the FB/opengraph data in our template anyway, we dont want to display the ones coming from Azure templates
         if (isset($ret['meta']['keywords'])) {
             $this->setMetaKeywords($ret['meta']['keywords']);
         }
         $this->_aViewData['js_embed'] = $this->_util->getJsEmbedCode($this->_username, $this->_snippet_url);
         $this->_aViewData['css_embed'] = $this->_util->getCssEmbedCode($this->_username, $this->_snippet_url);
         $this->_aViewData['noscript_content'] = $ret['noscript_content'];
         $this->_aViewData['meta_author'] = $ret['meta']['author'];
         $this->_aViewData['meta'] = $this->createHeaderHtml($ret['meta']);
     }
     return $this->_sThisTemplate;
 }
 /**
  * If possible loads additional article info (oxArticle::getCrossSelling(),
  * oxArticle::getAccessoires(), oxArticle::getReviews(), oxArticle::GetSimilarProducts(),
  * oxArticle::GetCustomerAlsoBoughtThisProducts()), forms variants details
  * navigation URLs
  * loads select lists (oxArticle::GetSelectLists()), prepares HTML meta data
  * (details::_convertForMetaTags()). Returns name of template file
  * details::_sThisTemplate
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     $config = $this->getConfig();
     $article = $this->getProduct();
     // assign template name
     if ($article->oxarticles__oxtemplate->value) {
         $this->_sThisTemplate = $article->oxarticles__oxtemplate->value;
     }
     if ($templateName = oxRegistry::getConfig()->getRequestParameter('tpl')) {
         $this->_sThisTemplate = 'custom/' . basename($templateName);
     }
     parent::render();
     $renderPartial = $this->getConfig()->getRequestParameter('renderPartial');
     $this->addTplParam('renderPartial', $renderPartial);
     switch ($renderPartial) {
         case "productInfo":
             return 'page/details/ajax/fullproductinfo.tpl';
             break;
         case "detailsMain":
             return 'page/details/ajax/productmain.tpl';
             break;
         default:
             // can not be removed, as it is used for breadcrumb loading
             $locator = oxNew('oxLocator', $this->getListType());
             $locator->setLocatorData($article, $this);
             if ($config->getConfigParam('bl_rssRecommLists') && $this->getSimilarRecommListIds()) {
                 $rssFeeds = oxNew('oxRssFeed');
                 $title = $rssFeeds->getRecommListsTitle($article);
                 $url = $rssFeeds->getRecommListsUrl($article);
                 $this->addRssFeed($title, $url, 'recommlists');
             }
             return $this->_sThisTemplate;
     }
 }
Exemplo n.º 19
0
 /**
  * Executes parent::render, loads article reviews and additional data
  * (oxarticle::getReviews(), oxarticle::getCrossSelling(),
  * oxarticle::GetSimilarProducts()). Returns name of template file to
  * render review::_sThisTemplate.
  *
  * @return  string  current template file name
  */
 public function render()
 {
     $oConfig = $this->getConfig();
     if (!$oConfig->getConfigParam("bl_perfLoadReviews")) {
         oxRegistry::getUtils()->redirect($oConfig->getShopHomeURL());
     }
     oxUBase::render();
     if (!$this->getReviewUser()) {
         $this->_sThisTemplate = $this->_sThisLoginTemplate;
     } else {
         $oActiveRecommList = $this->getActiveRecommList();
         $oList = $this->getActiveRecommItems();
         if ($oActiveRecommList) {
             if ($oList && $oList->count()) {
                 $this->_iAllArtCnt = $oActiveRecommList->getArtCount();
             }
             // load only lists which we show on screen
             $iNrofCatArticles = $this->getConfig()->getConfigParam('iNrofCatArticles');
             $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 10;
             $this->_iCntPages = round($this->_iAllArtCnt / $iNrofCatArticles + 0.49);
         }
     }
     return $this->_sThisTemplate;
 }
Exemplo n.º 20
0
 /**
  * Loads guestbook entries, forms guestbook naviagation URLS,
  * executes parent::render() and returns name of template to
  * render guestbook::_sThisTemplate.
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     parent::render();
     // #774C no user mail and password check in guesbook
     if ($this->_blShowLogin) {
         //no valid login
         return $this->_sThisLoginTemplate;
     }
     $this->getEntries();
     return $this->_sThisTemplate;
 }
Exemplo n.º 21
0
 /**
  * Executes parent::render(), loads active vendor, prepares article
  * list sorting rules. Loads list of articles which belong to this vendor
  * Generates page navigation data
  * such as previous/next window URL, number of available pages, generates
  * meta tags info (oxUBase::_convertForMetaTags()) and returns name of
  * template to render.
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     oxUBase::render();
     // load vendor
     if ($this->_getVendorId() && $this->getVendorTree()) {
         if ($oVendor = $this->getActVendor()) {
             if ($oVendor->getId() != 'root') {
                 // load the articles
                 $this->getArticleList();
                 // checking if requested page is correct
                 $this->_checkRequestedPage();
                 // processing list articles
                 $this->_processListArticles();
             }
         }
     }
     return $this->_sThisTemplate;
 }
Exemplo n.º 22
0
 /**
  * Renders the view
  *
  * @return unknown
  */
 public function render()
 {
     oxUBase::render();
     return $this->_sThisTemplate;
 }
Exemplo n.º 23
0
 /**
  * Executes parent::render(), if basket is empty - redirects to main page
  * and exits the script (oxorder::validateOrder()). Loads and passes payment
  * info to template engine. Refreshes basket articles info by additionally loading
  * each article object (oxorder::getProdFromBasket()), adds customer addressing/delivering
  * data (oxorder::getDelAddressInfo()) and delivery sets info (oxorder::getShipping()).
  * Returns name of template to render order::_sThisTemplate.
  *
  * @return string
  */
 public function render()
 {
     if ($this->getIsOrderStep()) {
         $oBasket = $this->getBasket();
         $myConfig = $this->getConfig();
         if ($myConfig->getConfigParam('blPsBasketReservationEnabled')) {
             $this->getSession()->getBasketReservations()->renewExpiration();
             if (!$oBasket || $oBasket && !$oBasket->getProductsCount()) {
                 oxRegistry::getUtils()->redirect($myConfig->getShopHomeUrl() . 'cl=basket', true, 302);
             }
         }
         // can we proceed with ordering ?
         $oUser = $this->getUser();
         if (!$oUser && ($oBasket && $oBasket->getProductsCount() > 0)) {
             oxRegistry::getUtils()->redirect($myConfig->getShopHomeUrl() . 'cl=basket', false, 302);
         } elseif (!$oBasket || !$oUser || $oBasket && !$oBasket->getProductsCount()) {
             oxRegistry::getUtils()->redirect($myConfig->getShopHomeUrl(), false, 302);
         }
         // payment is set ?
         if (!$this->getPayment()) {
             // redirecting to payment step on error ..
             oxRegistry::getUtils()->redirect($myConfig->getShopCurrentURL() . '&cl=payment', true, 302);
         }
     }
     parent::render();
     // reload blocker
     if (!oxRegistry::getSession()->getVariable('sess_challenge')) {
         oxRegistry::getSession()->setVariable('sess_challenge', oxUtilsObject::getInstance()->generateUID());
     }
     return $this->_sThisTemplate;
 }
Exemplo n.º 24
0
 /**
  * Executes parent::render(), loads action articles
  * (oxarticlelist::loadActionArticles()). Returns name of
  * template file to render.
  *
  * @return  string  cuurent template file name
  */
 public function render()
 {
     if (oxRegistry::getConfig()->getRequestParameter('showexceptionpage') == '1') {
         return 'message/exception.tpl';
     }
     $myConfig = $this->getConfig();
     $oRss = oxNew('oxrssfeed');
     if ($myConfig->getConfigParam('iTop5Mode') && $myConfig->getConfigParam('bl_rssTopShop')) {
         $this->addRssFeed($oRss->getTopInShopTitle(), $oRss->getTopInShopUrl(), 'topArticles');
     }
     if ($myConfig->getConfigParam('iNewestArticlesMode') && $myConfig->getConfigParam('bl_rssNewest')) {
         $this->addRssFeed($oRss->getNewestArticlesTitle(), $oRss->getNewestArticlesUrl(), 'newestArticles');
     }
     if ($myConfig->getConfigParam('bl_rssBargain')) {
         $this->addRssFeed($oRss->getBargainTitle(), $oRss->getBargainUrl(), 'bargainArticles');
     }
     parent::render();
     return $this->_sThisTemplate;
 }
Exemplo n.º 25
0
 /**
  * Collects current view data, return current template file name
  *
  * @return string
  */
 public function render()
 {
     oxUBase::render();
     $myConfig = $this->getConfig();
     $this->_iAllArtCnt = 0;
     if ($oActiveRecommList = $this->getActiveRecommList()) {
         if (($oList = $this->getArticleList()) && $oList->count()) {
             $this->_iAllArtCnt = $oActiveRecommList->getArtCount();
         }
         if ($myConfig->getConfigParam('bl_rssRecommListArts')) {
             $oRss = oxNew('oxrssfeed');
             $this->addRssFeed($oRss->getRecommListArticlesTitle($oActiveRecommList), $oRss->getRecommListArticlesUrl($this->_oActiveRecommList), 'recommlistarts');
         }
     } else {
         if (($oList = $this->getRecommLists()) && $oList->count()) {
             $oRecommList = oxNew('oxrecommlist');
             $this->_iAllArtCnt = $oRecommList->getSearchRecommListCount($this->getRecommSearch());
         }
     }
     if (!($oList = $this->getArticleList())) {
         $oList = $this->getRecommLists();
     }
     if ($oList && $oList->count()) {
         $iNrofCatArticles = (int) $this->getConfig()->getConfigParam('iNrofCatArticles');
         $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 10;
         $this->_iCntPages = round($this->_iAllArtCnt / $iNrofCatArticles + 0.49);
     }
     // processing list articles
     $this->_processListArticles();
     return $this->_sThisTemplate;
 }
Exemplo n.º 26
0
 /**
  * Loads action articles. If user is logged and returns name of
  * template to render account::_sThisTemplate
  *
  * @return  string  $_sThisTemplate current template file name
  */
 public function render()
 {
     parent::render();
     // performing redirect if needed
     $this->redirectAfterLogin();
     // is logged in ?
     $oUser = $this->getUser();
     $sPasswordField = 'oxuser__oxpassword';
     if (!$oUser || $oUser && !$oUser->{$sPasswordField}->value || $this->isEnabledPrivateSales() && $oUser && (!$oUser->isTermsAccepted() || $this->confirmTerms())) {
         $this->_sThisTemplate = $this->_getLoginTemplate();
     }
     return $this->_sThisTemplate;
 }
Exemplo n.º 27
0
 /**
  * Executes parent method parent::render(), returns name of template file.
  *
  * @return  string  $sTplName   template file name
  */
 public function render()
 {
     parent::render();
     // security fix so that you cant access files from outside template dir
     return basename((string) oxConfig::getParameter("tpl"));
 }
Exemplo n.º 28
0
 /**
  * Executes parent::render(), if invitation is disabled - redirects to main page
  *
  * @return string
  */
 public function render()
 {
     $oConfig = $this->getConfig();
     if (!$oConfig->getConfigParam("blInvitationsEnabled")) {
         oxRegistry::getUtils()->redirect($oConfig->getShopHomeURL());
         return;
     }
     parent::render();
     return $this->getUser() ? $this->_sThisTemplate : $this->_sThisLoginTemplate;
 }
Exemplo n.º 29
0
 /**
  * Forms search navigation URLs, executes parent::render() and
  * returns name of template to render search::_sThisTemplate.
  *
  * @return  string  current template file name
  */
 public function render()
 {
     parent::render();
     $oConfig = $this->getConfig();
     if ($oConfig->getConfigParam('bl_rssSearch')) {
         $oRss = oxNew('oxrssfeed');
         $sSearch = $oConfig->getRequestParameter('searchparam', true);
         $sCnid = $oConfig->getRequestParameter('searchcnid', true);
         $sVendor = $oConfig->getRequestParameter('searchvendor', true);
         $sManufacturer = $oConfig->getRequestParameter('searchmanufacturer', true);
         $sSearchArticlesTitle = $oRss->getSearchArticlesTitle($sSearch, $sCnid, $sVendor, $sManufacturer);
         $sSearchArticlesUrl = $oRss->getSearchArticlesUrl($sSearch, $sCnid, $sVendor, $sManufacturer);
         $this->addRssFeed($sSearchArticlesTitle, $sSearchArticlesUrl, 'searchArticles');
     }
     // processing list articles
     $this->_processListArticles();
     return $this->_sThisTemplate;
 }
Exemplo n.º 30
0
 /**
  * Loads customer basket object form session (oxSession::getBasket()),
  * passes action article/basket/country list to template engine. If
  * available - loads user delivery address data (oxAddress). If user
  * is connected using Facebook connect calls user::_fillFormWithFacebookData to
  * prefill form data with data taken from user Facebook account. Returns
  * name template file to render user::_sThisTemplate.
  *
  * @return  string  $this->_sThisTemplate   current template file name
  */
 public function render()
 {
     $config = $this->getConfig();
     if ($this->getIsOrderStep()) {
         if ($config->getConfigParam('blPsBasketReservationEnabled')) {
             $this->getSession()->getBasketReservations()->renewExpiration();
         }
         $basket = $this->getSession()->getBasket();
         $isPsBasketReservationsEnabled = $config->getConfigParam('blPsBasketReservationEnabled');
         if ($this->_blIsOrderStep && $isPsBasketReservationsEnabled && (!$basket || $basket && !$basket->getProductsCount())) {
             oxRegistry::getUtils()->redirect($config->getShopHomeURL() . 'cl=basket', true, 302);
         }
     }
     parent::render();
     if ($config->getConfigParam("bl_showFbConnect") && !$this->getUser()) {
         $this->_fillFormWithFacebookData();
     }
     return $this->_sThisTemplate;
 }