Public Member Functions | |
loadNews ($iFrom=0, $iLimit=10) | |
getCount () | |
setUser ($oUser) | |
getUser () | |
Protected Attributes | |
$_sObjectsInListName = 'oxnews' | |
$_oUser = null |
News list manager. Creates news objects, fetches its data.
Definition at line 8 of file oxnewslist.php.
oxNewslist.getCount | ( | ) |
Returns count of all entries.
Definition at line 63 of file oxnewslist.php.
oxNewslist.getUser | ( | ) |
oxNewslist.loadNews | ( | $ | iFrom = 0 , |
|
$ | iLimit = 10 | |||
) |
Loads news stored in DB, filtered by user groups, returns array, filled with objects, that keeps news data.
integer | $iFrom number from which start selecting | |
integer | $iLimit Limit of records to fetch from DB(default 0) |
Definition at line 30 of file oxnewslist.php.
oxNewslist.setUser | ( | $ | oUser | ) |
News list user setter
oxuser | $oUser user object |
Definition at line 96 of file oxnewslist.php.
oxNewslist.$_oUser = null [protected] |
Ref. to user object
Definition at line 21 of file oxnewslist.php.
oxNewslist.$_sObjectsInListName = 'oxnews' [protected] |
Reimplemented from oxList.
Definition at line 16 of file oxnewslist.php.