Public Member Functions | |
renderHeader () | |
renderProperty () | |
render (Varien_Object $row) | |
Protected Member Functions | |
_getCheckboxHtml ($value, $checked) | |
Protected Attributes | |
$_defaultWidth = 20 |
Definition at line 35 of file Massaction.php.
_getCheckboxHtml | ( | $ | value, | |
$ | checked | |||
) | [protected] |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Checkbox.
Definition at line 61 of file Massaction.php.
00062 { 00063 return '<input type="checkbox" name="'.$this->getColumn()->getName().'" value="' . $value . '" class="massaction-checkbox"'.$checked.'/>'; 00064 }
render | ( | Varien_Object $ | row | ) |
Renders grid column
Varien_Object | $row |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Checkbox.
Definition at line 52 of file Massaction.php.
00053 { 00054 if ($this->getColumn()->getGrid()->getMassactionIdFieldOnlyIndexValue()){ 00055 $this->setNoObjectId(true); 00056 } 00057 return parent::render($row); 00058 }
renderHeader | ( | ) |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Checkbox.
Definition at line 39 of file Massaction.php.
renderProperty | ( | ) |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Definition at line 44 of file Massaction.php.
00045 { 00046 $out = parent::renderProperty(); 00047 $out = preg_replace('/class=".*?"/i', '', $out); 00048 $out .= ' class="a-center"'; 00049 return $out; 00050 }
$_defaultWidth = 20 [protected] |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Checkbox.
Definition at line 37 of file Massaction.php.