Mage_Adminhtml_Model_System_Config_Backend_Email_Address Class Reference

Inheritance diagram for Mage_Adminhtml_Model_System_Config_Backend_Email_Address:

Mage_Core_Model_Config_Data Mage_Core_Model_Abstract Varien_Object

List of all members.

Protected Member Functions

 _beforeSave ()


Detailed Description

Definition at line 35 of file Address.php.


Member Function Documentation

_beforeSave (  )  [protected]

Processing object before save data

Returns:
Mage_Core_Model_Abstract

Reimplemented from Mage_Core_Model_Abstract.

Definition at line 37 of file Address.php.

00038     {
00039         $value = $this->getValue();
00040         if (!Zend_Validate::is($value, 'EmailAddress')) {
00041             Mage::throwException(Mage::helper('adminhtml')->__('Invalid email address "%s"', $value));
00042         }
00043         return $this;
00044     }


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

Generated on Sat Jul 4 17:23:13 2009 for Magento by  doxygen 1.5.8