Definition at line 11 of file pricealarm.php.
Public Member Functions | |
render () | |
addme () | |
getBidPrice () | |
getProduct () | |
getPriceAlarmStatus () | |
Protected Attributes | |
$_sThisTemplate = 'pricealarm.tpl' | |
$_oArticle = null | |
$_sBidPrice = null | |
$_iPriceAlarmStatus = null | |
Private Member Functions | |
_getParams () |
Pricealarm.render | ( | ) |
Executes parent.render(), loads pricealarm article, currency. Returns name of template to render Pricealarm._sThisTemplate.
Template variables: product, bidprice
Reimplemented from oxUBase.
Definition at line 46 of file pricealarm.php.
Pricealarm.addme | ( | ) |
Validates email address. If email is wrong - returns false and exits. If email address is OK - creates prcealarm object and saves it (oxpricealarm.save()). Sends pricealarm notification mail to shop owner.
Template variables: success, shop
Definition at line 69 of file pricealarm.php.
Pricealarm.getBidPrice | ( | ) |
Template variable getter. Returns bid price
Definition at line 116 of file pricealarm.php.
Pricealarm.getProduct | ( | ) |
Template variable getter. Returns active article
Reimplemented from oxUBase.
Definition at line 134 of file pricealarm.php.
Pricealarm._getParams | ( | ) | [private] |
Pricealarm.getPriceAlarmStatus | ( | ) |
Return pricealarm status (if it was send)
Definition at line 161 of file pricealarm.php.
Pricealarm.$_sThisTemplate = 'pricealarm.tpl' [protected] |
Pricealarm.$_oArticle = null [protected] |
Definition at line 23 of file pricealarm.php.
Pricealarm.$_sBidPrice = null [protected] |
Definition at line 29 of file pricealarm.php.
Pricealarm.$_iPriceAlarmStatus = null [protected] |
Definition at line 35 of file pricealarm.php.