OXID eShop CE
4.10.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
recommadd.php
Go to the documentation of this file.
1
<?php
2
10
class
RecommAdd
extends
Details
11
{
12
18
protected
$_sThisTemplate
=
'page/account/recommendationadd.tpl'
;
19
25
protected
$_aUserRecommList
= null;
26
32
public
function
render
()
33
{
34
oxUBase::render
();
35
36
return
$this->_sThisTemplate
;
37
}
38
44
public
function
getRecommLists
()
45
{
46
if
($this->_aUserRecommList === null) {
47
$oUser = $this->
getUser
();
48
if
($oUser) {
49
$this->_aUserRecommList = $oUser->getUserRecommLists();
50
}
51
}
52
53
return
$this->_aUserRecommList
;
54
}
55
61
public
function
getTitle
()
62
{
63
$oProduct = $this->
getProduct
();
64
65
return
$oProduct->oxarticles__oxtitle->value .
' '
. $oProduct->oxarticles__oxvarselect->value;
66
}
67
}
application
controllers
recommadd.php
Generated by
1.8.1.2