Public Member Functions | |
render () | |
send () | |
getProduct () | |
getCrossSelling () | |
getSimilarProducts () | |
getRecommList () | |
setSuggestData ($oData) | |
getSuggestData () | |
getLink ($iLang=null) | |
getCaptcha () | |
Protected Attributes | |
$_sThisTemplate = 'suggest.tpl' | |
$_aReqFields = array( 'rec_name', 'rec_email', 'send_name', 'send_email', 'send_message', 'send_subject' ) | |
$_oCrossSelling = null | |
$_oSimilarProducts = null | |
$_oRecommList = null | |
$_aSuggestData = null | |
$_oCaptcha = null |
Article suggestion page. Collects some article base information, sets default recomendation text, sends suggestion mail to user.
Definition at line 8 of file suggest.php.
Suggest.getCaptcha | ( | ) |
Template variable getter. Returns object of handling CAPTCHA image
Definition at line 277 of file suggest.php.
Suggest.getCrossSelling | ( | ) |
Template variable getter. Returns recommlist's reviews
Reimplemented from oxUBase.
Definition at line 178 of file suggest.php.
Suggest.getLink | ( | $ | iLang = null |
) |
get link of current view
int | $iLang requested language |
Reimplemented from oxUBase.
Definition at line 255 of file suggest.php.
Suggest.getProduct | ( | ) |
Template variable getter. Returns search product
Reimplemented from oxUBase.
Definition at line 161 of file suggest.php.
Suggest.getRecommList | ( | ) |
Template variable getter. Returns recommlist's reviews
Definition at line 210 of file suggest.php.
Suggest.getSimilarProducts | ( | ) |
Template variable getter. Returns recommlist's reviews
Reimplemented from oxUBase.
Definition at line 194 of file suggest.php.
Suggest.getSuggestData | ( | ) |
Template variable getter. Returns active object's reviews
Definition at line 243 of file suggest.php.
Suggest.render | ( | ) |
Loads and passes article and related info to template engine (oxarticle.getReviews(), oxarticle.getCrossSelling(), oxarticle.GetSimilarProducts()), executes parent.render() and returns template file name to render suggest._sThisTemplate.
Template variables: product, reviews, crossselllist, similarlist
Reimplemented from oxUBase.
Definition at line 64 of file suggest.php.
Suggest.send | ( | ) |
Sends product suggestion mail and returns a URL according to URL formatting rules.
Template variables: editval, error
Definition at line 89 of file suggest.php.
Suggest.setSuggestData | ( | $ | oData | ) |
Suggest data setter
object | $oData suggest data object |
Definition at line 233 of file suggest.php.
Suggest.$_aReqFields = array( 'rec_name', 'rec_email', 'send_name', 'send_email', 'send_message', 'send_subject' ) [protected] |
Definition at line 20 of file suggest.php.
Suggest.$_aSuggestData = null [protected] |
Definition at line 44 of file suggest.php.
Suggest.$_oCaptcha = null [protected] |
Definition at line 50 of file suggest.php.
Suggest.$_oCrossSelling = null [protected] |
Definition at line 26 of file suggest.php.
Suggest.$_oRecommList = null [protected] |
Definition at line 38 of file suggest.php.
Suggest.$_oSimilarProducts = null [protected] |
Definition at line 32 of file suggest.php.
Suggest.$_sThisTemplate = 'suggest.tpl' [protected] |
Reimplemented from oxView.
Definition at line 14 of file suggest.php.