Public Member Functions | Protected Attributes

oxNewslist Class Reference

Inheritance diagram for oxNewslist:
Collaboration diagram for oxNewslist:

List of all members.

Public Member Functions

 loadNews ($iLimit=0)
 setUser ($oUser)
 getUser ()

Protected Attributes

 $_sObjectsInListName = 'oxnews'
 $_oUser = null

Detailed Description

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

Definition at line 7 of file oxnewslist.php.


Member Function Documentation

oxNewslist.getUser (  ) 

News list user getter

Returns:
oxuser

Definition at line 73 of file oxnewslist.php.

oxNewslist.loadNews ( iLimit = 0  ) 

Loads news stored in DB, filtered by user groups, returns array, filled with objects, that keeps news data.

Parameters:
integer $iLimit Limit of records to fetch from DB(default 0)
Returns:
array

Definition at line 29 of file oxnewslist.php.

oxNewslist.setUser ( oUser  ) 

News list user setter

Parameters:
oxuser $oUser user object
Returns:
null

Definition at line 63 of file oxnewslist.php.


Member Data Documentation

oxNewslist.$_oUser = null [protected]

Ref. to user object

Definition at line 19 of file oxnewslist.php.

oxNewslist.$_sObjectsInListName = 'oxnews' [protected]

Reimplemented from oxList.

Definition at line 14 of file oxnewslist.php.


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