OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
recommadd.php
Go to the documentation of this file.
1 <?php
2 
8 class RecommAdd extends Details
9 {
10 
16  protected $_sThisTemplate = 'page/account/recommendationadd.tpl';
17 
23  protected $_aUserRecommList = null;
24 
30  public function render()
31  {
33 
34  return $this->_sThisTemplate;
35  }
36 
42  public function getRecommLists()
43  {
44  if ($this->_aUserRecommList === null) {
45  $oUser = $this->getUser();
46  if ($oUser) {
47  $this->_aUserRecommList = $oUser->getUserRecommLists();
48  }
49  }
50 
52  }
53 
59  public function getTitle()
60  {
61  $oProduct = $this->getProduct();
62 
63  return $oProduct->oxarticles__oxtitle->value . ' ' . $oProduct->oxarticles__oxvarselect->value;
64  }
65 }