Mage_Adminhtml_Model_System_Config_Source_Customer_Group Class Reference

List of all members.

Public Member Functions

 toOptionArray ()

Protected Attributes

 $_options


Detailed Description

Definition at line 28 of file Group.php.


Member Function Documentation

toOptionArray (  ) 

Definition at line 32 of file Group.php.

00033     {
00034         if (!$this->_options) {
00035             $this->_options = Mage::getResourceModel('customer/group_collection')
00036                 ->setRealGroupsFilter()
00037                 ->loadData()->toOptionArray();
00038             array_unshift($this->_options, array('value'=> '', 'label'=> Mage::helper('adminhtml')->__('-- Please Select --')));
00039         }
00040         return $this->_options;
00041     }


Member Data Documentation

$_options [protected]

Definition at line 30 of file Group.php.


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

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