Public Member Functions | |
getCondition () |
Definition at line 34 of file Massaction.php.
getCondition | ( | ) |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Checkbox.
Definition at line 36 of file Massaction.php.
00037 { 00038 if ($this->getValue()) { 00039 return array('in'=> ( $this->getColumn()->getSelected() ? $this->getColumn()->getSelected() : array(0) )); 00040 } 00041 else { 00042 return array('nin'=> ( $this->getColumn()->getSelected() ? $this->getColumn()->getSelected() : array(0) )); 00043 } 00044 }