OXID eShop CE
4.8.10
|
Public Member Functions | |
loadNews ($iFrom=0, $iLimit=10) | |
getCount () | |
setUser ($oUser) | |
getUser () | |
Public Member Functions inherited from oxList | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $oBase) | |
offsetUnset ($offset) | |
arrayKeys () | |
rewind () | |
current () | |
key () | |
prev () | |
next () | |
valid () | |
count () | |
clear () | |
assign ($aArray) | |
reverse () | |
__construct ($sObjectName=null) | |
__get ($sName) | |
getArray () | |
init ($sObjectName, $sCoreTable=null) | |
getBaseObject () | |
selectString ($sSql) | |
assignArray ($aData) | |
setSqlLimit ($iStart, $iRecords) | |
containsFieldValue ($oVal, $sFieldName) | |
getList () | |
Public Member Functions inherited from oxSuperCfg | |
__call ($sMethod, $aArgs) | |
__construct () | |
getConfig () | |
setConfig ($oConfig) | |
getSession () | |
setSession ($oSession) | |
isAdmin () | |
setAdminMode ($blAdmin) |
Protected Attributes | |
$_sObjectsInListName = 'oxnews' | |
$_oUser = null | |
Protected Attributes inherited from oxList | |
$_aArray = array() | |
$_blRemovedActive = false | |
$_sObjectsInListName = 'oxBase' | |
$_sCoreTable = null | |
$_sShopID = null | |
$_aSqlLimit = array() |
Additional Inherited Members | |
Protected Member Functions inherited from oxList | |
_assignElement ($oListObject, $aDbFields) | |
_getFieldLongName ($sFieldName) | |
Static Protected Attributes inherited from oxSuperCfg | |
static | $_oConfig = null |
static | $_oSession = null |
static | $_oRights = null |
static | $_oActUser = null |
static | $_blIsAdmin = null |
News list manager. Creates news objects, fetches its data.
Definition at line 8 of file oxnewslist.php.
oxNewslist::getCount | ( | ) |
oxNewslist::getUser | ( | ) |
News list user getter
Reimplemented from oxSuperCfg.
Definition at line 109 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.
integer | $iFrom | number from which start selecting |
integer | $iLimit | Limit of records to fetch from DB(default 0) |
Definition at line 31 of file oxnewslist.php.
oxNewslist::setUser | ( | $oUser | ) |
News list user setter
oxuser | $oUser | user object |
Reimplemented from oxSuperCfg.
Definition at line 99 of file oxnewslist.php.
|
protected |
Ref. to user object
Definition at line 20 of file oxnewslist.php.
|
protected |
Definition at line 15 of file oxnewslist.php.