Public Member Functions | |
__construct () | |
getCurrentUrl ($params=array()) | |
getRowUrl ($row) | |
Protected Member Functions | |
_prepareCollection () | |
_prepareColumns () | |
Protected Attributes | |
$_defaultLimit = 200 |
Definition at line 34 of file Grid.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 38 of file Grid.php.
00039 { 00040 parent::__construct(); 00041 $this->setId('extensions_custom_edit_grid'); 00042 $this->setUseAjax(true); 00043 }
_prepareCollection | ( | ) | [protected] |
Prepare grid collection object
Reimplemented from Mage_Adminhtml_Block_Widget_Grid.
Definition at line 45 of file Grid.php.
00046 { 00047 // take a look at Mage_Adminhtml_Model_Extension_Collection_Abstract 00048 $collection = Mage::getSingleton('adminhtml/extension_collection'); 00049 $this->setCollection($collection); 00050 return parent::_prepareCollection(); 00051 }
_prepareColumns | ( | ) | [protected] |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid.
Definition at line 53 of file Grid.php.
00054 { 00055 $baseUrl = $this->getUrl(); 00056 00057 $this->addColumn('filename', array( 00058 'header' => Mage::helper('adminhtml')->__('Package'), 00059 'index' => 'filename', 00060 )); 00061 00062 return parent::_prepareColumns(); 00063 }
getCurrentUrl | ( | $ | params = array() |
) |
getRowUrl | ( | $ | row | ) |
$_defaultLimit = 200 [protected] |