Public Member Functions | |
render () | |
send () | |
setInviteData ($oData) | |
getInviteData () | |
getCaptcha () | |
Protected Member Functions | |
_updateStatistics ($sUserId, $aRecEmail) | |
Protected Attributes | |
$_sThisTemplate = 'invite.tpl' | |
$_aReqFields = array( 'rec_email', 'send_name', 'send_email', 'send_message', 'send_subject' ) | |
$_oCrossSelling = null | |
$_oSimilarProducts = null | |
$_oRecommList = null | |
$_aInviteData = null | |
$_oCaptcha = null | |
$_iMailStatus = null |
Article suggestion page. Collects some article base information, sets default recomendation text, sends suggestion mail to user.
Definition at line 8 of file invite.php.
Invite._updateStatistics | ( | $ | sUserId, | |
$ | aRecEmail | |||
) | [protected] |
Updating invitations statistics
string | $sUserId ID of user, who sents invitation | |
array | $aRecEmail array of recipients emails |
Definition at line 225 of file invite.php.
Invite.getCaptcha | ( | ) |
Template variable getter. Returns object of handling CAPTCHA image
Definition at line 209 of file invite.php.
Invite.getInviteData | ( | ) |
Invite.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 71 of file invite.php.
Invite.send | ( | ) |
Sends product suggestion mail and returns a URL according to URL formatting rules.
Template variables: editval, error
Definition at line 97 of file invite.php.
Invite.setInviteData | ( | $ | oData | ) |
Suggest data setter
object | $oData suggest data object |
Definition at line 189 of file invite.php.
Invite.$_aInviteData = null [protected] |
Definition at line 44 of file invite.php.
Invite.$_aReqFields = array( 'rec_email', 'send_name', 'send_email', 'send_message', 'send_subject' ) [protected] |
Definition at line 20 of file invite.php.
Invite.$_iMailStatus = null [protected] |
Definition at line 56 of file invite.php.
Invite.$_oCaptcha = null [protected] |
Definition at line 50 of file invite.php.
Invite.$_oCrossSelling = null [protected] |
Definition at line 26 of file invite.php.
Invite.$_oRecommList = null [protected] |
Definition at line 38 of file invite.php.
Invite.$_oSimilarProducts = null [protected] |
Definition at line 32 of file invite.php.
Invite.$_sThisTemplate = 'invite.tpl' [protected] |
Reimplemented from oxView.
Definition at line 14 of file invite.php.