Public Member Functions | |
render (Varien_Object $row) |
Definition at line 35 of file Checkbox.php.
render | ( | Varien_Object $ | row | ) |
Renders grid column
Varien_Object | $row |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract.
Definition at line 43 of file Checkbox.php.
00044 { 00045 if($row->getSubscriberStatus()==Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED) { 00046 return '<input type="checkbox" name="subscriber[]" value="' . $row->getId() . '" class="subscriberCheckbox"/>'; 00047 } else { 00048 return ''; 00049 } 00050 00051 }