*/ class Mage_AdminNotification_Model_Resource_Inbox_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract { /** * Resource collection initialization * */ protected function _construct() { $this->_init('adminnotification/inbox'); } /** * Add remove filter * * @return Mage_AdminNotification_Model_Resource_Inbox_Collection */ public function addRemoveFilter() { $this->getSelect() ->where('is_remove=?', 0); return $this; } }