Class Mage_ProductAlert_Model_Observer

Description

ProductAlert observer

Located in /ProductAlert/Model/Observer.php (line 35)


	
			
Class Constant Summary
XML_PATH_ERROR_IDENTITY = 'catalog/productalert_cron/error_email_identity'
XML_PATH_ERROR_RECIPIENT = 'catalog/productalert_cron/error_email'
XML_PATH_ERROR_TEMPLATE = 'catalog/productalert_cron/error_email_template'
XML_PATH_PRICE_ALLOW = 'catalog/productalert/allow_price'
XML_PATH_STOCK_ALLOW = 'catalog/productalert/allow_stock'
Variable Summary
array $_errors
array $_websites
Method Summary
Mage_productAlert_Model_Observer process ()
array _getWebsites ()
Mage_productAlert_Model_Observer _processPrice (Mage_ProductAlert_Model_Email $email)
Mage_productAlert_Model_Observer _processStock (Mage_ProductAlert_Model_Email $email)
Mage_productAlert_Model_Observer _sendErrorEmail ()
Variables
array $_errors = array() (line 76)

Warning (exception) errors array

  • access: protected
array $_websites (line 69)

Website collection array

  • access: protected
Methods
process (line 307)

Run process send product alerts

  • access: public
Mage_productAlert_Model_Observer process ()
_getWebsites (line 83)

Retrieve website collection array

  • access: protected
array _getWebsites ()
_processPrice (line 102)

Process price emails

  • access: protected
Mage_productAlert_Model_Observer _processPrice (Mage_ProductAlert_Model_Email $email)
_processStock (line 187)

Process stock emails

  • access: protected
Mage_productAlert_Model_Observer _processStock (Mage_ProductAlert_Model_Email $email)
_sendErrorEmail (line 274)

Send email to administrator if error

  • access: protected
Mage_productAlert_Model_Observer _sendErrorEmail ()
Class Constants
XML_PATH_ERROR_IDENTITY = 'catalog/productalert_cron/error_email_identity' (line 45)

Error email identity configuration

XML_PATH_ERROR_RECIPIENT = 'catalog/productalert_cron/error_email' (line 50)

'Send error emails to' configuration

XML_PATH_ERROR_TEMPLATE = 'catalog/productalert_cron/error_email_template' (line 40)

Error email template configuration

XML_PATH_PRICE_ALLOW = 'catalog/productalert/allow_price' (line 56)

Allow price alert

XML_PATH_STOCK_ALLOW = 'catalog/productalert/allow_stock' (line 62)

Allow stock alert

Documentation generated on Fri, 11 Feb 2011 17:09:03 +0200 by phpDocumentor 1.4.3