Public Member Functions | Protected Attributes

oxNewslist Class Reference

Inheritance diagram for oxNewslist:
Collaboration diagram for oxNewslist:

List of all members.

Public Member Functions

 loadNews ($iFrom=0, $iLimit=10)
 getCount ()
 setUser ($oUser)
 getUser ()

Protected Attributes

 $_sObjectsInListName = 'oxnews'
 $_oUser = null

Detailed Description

News list manager. Creates news objects, fetches its data.

Definition at line 8 of file oxnewslist.php.


Member Function Documentation

oxNewslist.getCount (  ) 

Returns count of all entries.

Returns:
integer $iRecCnt

Definition at line 63 of file oxnewslist.php.

oxNewslist.getUser (  ) 

News list user getter

Returns:
oxuser

Definition at line 106 of file oxnewslist.php.

oxNewslist.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)

Definition at line 30 of file oxnewslist.php.

oxNewslist.setUser ( oUser  ) 

News list user setter

Parameters:
oxuser $oUser user object

Definition at line 96 of file oxnewslist.php.


Member Data Documentation

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.


The documentation for this class was generated from the following file: