Public Member Functions | Protected Attributes | Private Member Functions

Pricealarm Class Reference

Inheritance diagram for Pricealarm:
Collaboration diagram for Pricealarm:

List of all members.

Public Member Functions

 render ()
 addme ()
 getBidPrice ()
 getProduct ()
 getPriceAlarmStatus ()

Protected Attributes

 $_sThisTemplate = 'pricealarm.tpl'
 $_oArticle = null
 $_sBidPrice = null
 $_iPriceAlarmStatus = null

Private Member Functions

 _getParams ()

Detailed Description

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.

Member Function Documentation

Pricealarm._getParams (  )  [private]

Returns params (article id, bid price)


Definition at line 152 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 ( Sends pricealarm notification mail to shop owner.

Template variables: success, shop

bool false on error

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

string current view template file name

Reimplemented from oxUBase.

Definition at line 46 of file pricealarm.php.

Member Data Documentation

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.

The documentation for this class was generated from the following file: