Public Member Functions | |
toOptionArray () |
Definition at line 26 of file Dbautoup.php.
toOptionArray | ( | ) |
Definition at line 28 of file Dbautoup.php.
00029 { 00030 $hlp = Mage::helper('adminhtml'); 00031 return array( 00032 array('value'=>Mage_Core_Model_Resource::AUTO_UPDATE_ALWAYS, 'label'=>$hlp->__('Always (during development)')), 00033 array('value'=>Mage_Core_Model_Resource::AUTO_UPDATE_ONCE, 'label'=>$hlp->__('Only once (version upgrade)')), 00034 array('value'=>Mage_Core_Model_Resource::AUTO_UPDATE_NEVER, 'label'=>$hlp->__('Never (production)')), 00035 ); 00036 }