Public Member Functions | |
render () | |
addme () | |
getBidPrice () | |
getProduct () | |
getPriceAlarmStatus () | |
Protected Attributes | |
$_sThisTemplate = 'pricealarm.tpl' | |
$_oArticle = null | |
$_sBidPrice = null | |
$_iPriceAlarmStatus = null | |
Private Member Functions | |
_getParams () |
Pricealarm window. Arranges "pricealarm" window, by sending eMail and storing into Database (etc.) submission. Result - "pricealarm.tpl" template. After user correctly fulfils all required fields all information is sent to shop owner by email. OXID eShop -> pricealarm.
Definition at line 11 of file pricealarm.php.
Pricealarm._getParams | ( | ) | [private] |
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 117 of file pricealarm.php.
Pricealarm.getPriceAlarmStatus | ( | ) |
Return pricealarm status (if it was send)
Definition at line 162 of file pricealarm.php.
Pricealarm.getProduct | ( | ) |
Template variable getter. Returns active article
Reimplemented from oxUBase.
Definition at line 135 of file pricealarm.php.
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.$_iPriceAlarmStatus = null [protected] |
Definition at line 35 of file pricealarm.php.
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.$_sThisTemplate = 'pricealarm.tpl' [protected] |
Reimplemented from oxView.
Definition at line 17 of file pricealarm.php.