Mage_Adminhtml_Block_Urlrewrite_Product_Grid Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Urlrewrite_Product_Grid:

Mage_Adminhtml_Block_Catalog_Product_Grid Mage_Adminhtml_Block_Widget_Grid Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getGridUrl ()
 getRowUrl ($row)

Protected Member Functions

 _prepareMassaction ()
 _prepareColumns ()


Detailed Description

Definition at line 34 of file Grid.php.


Member Function Documentation

_prepareColumns (  )  [protected]

Prepare columns layout

Returns:
Mage_Adminhtml_Block_Urlrewrite_Product_Grid

Reimplemented from Mage_Adminhtml_Block_Catalog_Product_Grid.

Definition at line 51 of file Grid.php.

00052     {
00053         $this->addColumn('entity_id',
00054             array(
00055                 'header'=> Mage::helper('adminhtml')->__('ID'),
00056                 'width' => 50,
00057                 'index' => 'entity_id',
00058         ));
00059 
00060         $this->addColumn('name',
00061             array(
00062                 'header'=> Mage::helper('adminhtml')->__('Name'),
00063                 'index' => 'name',
00064         ));
00065 
00066         $this->addColumn('sku',
00067             array(
00068                 'header'=> Mage::helper('adminhtml')->__('SKU'),
00069                 'width' => 80,
00070                 'index' => 'sku',
00071         ));
00072         $this->addColumn('status',
00073             array(
00074                 'header'=> Mage::helper('adminhtml')->__('Status'),
00075                 'width' => 50,
00076                 'index' => 'status',
00077                 'type'  => 'options',
00078                 'options' => Mage::getSingleton('catalog/product_status')->getOptionArray(),
00079         ));
00080         return $this;
00081     }

_prepareMassaction (  )  [protected]

Disable massaction

Returns:
Mage_Adminhtml_Block_Urlrewrite_Product_Grid

Reimplemented from Mage_Adminhtml_Block_Catalog_Product_Grid.

Definition at line 41 of file Grid.php.

00042     {
00043         return $this;
00044     }

getGridUrl (  ) 

Get url for dispatching grid ajax requests

Returns:
string

Reimplemented from Mage_Adminhtml_Block_Catalog_Product_Grid.

Definition at line 88 of file Grid.php.

00089     {
00090         return $this->getUrl('*/*/productGrid', array('_current' => true));
00091     }

getRowUrl ( row  ) 

Get row url

Returns:
string

Reimplemented from Mage_Adminhtml_Block_Catalog_Product_Grid.

Definition at line 98 of file Grid.php.

00099     {
00100         return $this->getUrl('*/*/edit', array('product' => $row->getId())) . 'category';
00101     }


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

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