Mage_Adminhtml_Model_System_Config_Backend_Admin_Usecustom Class Reference

Inheritance diagram for Mage_Adminhtml_Model_System_Config_Backend_Admin_Usecustom:

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

00038     {
00039 
00040         $value = $this->getValue();
00041         if ($value == 1) {
00042             $customUrl = $this->getData('groups/url/fields/custom/value');
00043             if (empty($customUrl)) {
00044                 Mage::throwException(Mage::helper('adminhtml')->__('Please specify admin custom URL'));
00045             }
00046         }
00047 
00048         return $this;
00049     }


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