News list manager. Creates news objects, fetches its data.
- Deprecated:
- since v.5.3.0 (2016-06-17); The Admin Menu: Customer Info -> News feature will be moved to a module in v6.0.0
◆ getCount()
OxidEsales\EshopCommunity\Application\Model\NewsList::getCount |
( |
| ) |
|
Returns count of all entries.
- Returns
- integer $iRecCnt
◆ getUser()
OxidEsales\EshopCommunity\Application\Model\NewsList::getUser |
( |
| ) |
|
News list user getter
- Returns
- \OxidEsales\Eshop\Application\Model\User
◆ loadNews()
OxidEsales\EshopCommunity\Application\Model\NewsList::loadNews |
( |
|
$iFrom = 0 , |
|
|
|
$iLimit = 10 |
|
) |
| |
Loads news stored in DB, filtered by user groups, returns array, filled with objects, that keeps news data.
- Parameters
-
integer | $iFrom | number from which start selecting |
integer | $iLimit | Limit of records to fetch from DB(default 0) |
◆ setUser()
OxidEsales\EshopCommunity\Application\Model\NewsList::setUser |
( |
|
$oUser | ) |
|
News list user setter
- Parameters
-
\OxidEsales\Eshop\Application\Model\User | $oUser | user object |
◆ $_oUser
OxidEsales\EshopCommunity\Application\Model\NewsList::$_oUser = null |
|
protected |
◆ $_sObjectsInListName
OxidEsales\EshopCommunity\Application\Model\NewsList::$_sObjectsInListName = 'oxnews' |
|
protected |
The documentation for this class was generated from the following file: