OXID eShop CE
4.10.2
|
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 () | |
setBaseObject ($oObject) | |
selectString ($sSql) | |
add ($oObject) | |
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 9 of file oxnewslist.php.
oxNewslist::getCount | ( | ) |
oxNewslist::getUser | ( | ) |
News list user getter
Reimplemented from oxSuperCfg.
Definition at line 107 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 97 of file oxnewslist.php.
|
protected |
Ref. to user object
Definition at line 22 of file oxnewslist.php.
|
protected |
Definition at line 17 of file oxnewslist.php.