Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Collection.php
Go to the documentation of this file.
1 <?php
7 
17 {
23  protected function _construct()
24  {
25  $this->_init(
26  \Magento\AdminNotification\Model\Inbox::class,
27  \Magento\AdminNotification\Model\ResourceModel\Inbox::class
28  );
29  }
30 
36  public function addRemoveFilter()
37  {
38  $this->getSelect()->where('is_remove=?', 0);
39  return $this;
40  }
41 }