Mage_Adminhtml_Model_System_Config_Source_Catalog_GridPerPage Class Reference

List of all members.

Public Member Functions

 toOptionArray ()


Detailed Description

Definition at line 35 of file GridPerPage.php.


Member Function Documentation

toOptionArray (  ) 

Definition at line 37 of file GridPerPage.php.

00038     {
00039         $result = array();
00040         $perPageValues = Mage::getConfig()->getNode('frontend/catalog/per_page_values/grid');
00041         $perPageValues = explode(',', $perPageValues);
00042         foreach ($perPageValues as $option) {
00043             $result[] = array('value' => $option, 'label' => $option);
00044         }
00045         //$result[] = array('value' => 'all', 'label' => Mage::helper('catalog')->__('All'));
00046         return $result;
00047     }


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