Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-admin-notification
Model
ResourceModel
Inbox
Collection
Unread.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\AdminNotification\Model\ResourceModel\Inbox\Collection
;
13
18
class
Unread
extends
\Magento\AdminNotification\Model\ResourceModel\Inbox\Collection
19
{
25
protected
function
_initSelect
()
26
{
27
parent::_initSelect();
28
$this->
addFilter
(
'is_remove'
, 0);
29
$this->
addFilter
(
'is_read'
, 0);
30
$this->
setOrder
(
'date_added'
);
31
return
$this;
32
}
33
}
Magento\AdminNotification\Model\ResourceModel\Inbox\Collection\Unread\_initSelect
_initSelect()
Definition:
Unread.php:25
Magento\AdminNotification\Model\ResourceModel\Inbox\Collection
Definition:
CriticalTest.php:6
Magento\Framework\Data\Collection\addFilter
addFilter($field, $value, $type='and')
Definition:
Collection.php:118
Magento\Framework\Data\Collection\AbstractDb\setOrder
setOrder($field, $direction=self::SORT_ORDER_DESC)
Definition:
AbstractDb.php:274
Magento\AdminNotification\Model\ResourceModel\Inbox\Collection\Unread
Definition:
Unread.php:18