Mage_Adminhtml_Model_System_Config_Backend_Email_Sender Class Reference

Inheritance diagram for Mage_Adminhtml_Model_System_Config_Backend_Email_Sender:

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 Sender.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 Sender.php.

00038     {
00039         $value = $this->getValue();
00040         if (!preg_match("/^[A-Za-z0-9_\s]+$/", $value)) {
00041             Mage::throwException(Mage::helper('adminhtml')->__('Invalid sender name "%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