| 
    OXID eShop CE
    4.10.8
    
   | 
 
 Inheritance diagram for oxList:
 Collaboration diagram for oxList:Public Member Functions | |
| 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) | |
| getUser () | |
| setUser ($oUser) | |
| isAdmin () | |
| setAdminMode ($blAdmin) | |
Protected Member Functions | |
| _assignElement ($oListObject, $aDbFields) | |
| _getFieldLongName ($sFieldName) | |
Protected Attributes | |
| $_aArray = array() | |
| $_blRemovedActive = false | |
| $_sObjectsInListName = 'oxBase' | |
| $_sCoreTable = null | |
| $_sShopID = null | |
| $_aSqlLimit = array() | |
Private Attributes | |
| $_oBaseObject = null | |
| $_blValid = true | |
Additional Inherited Members | |
  Static Protected Attributes inherited from oxSuperCfg | |
| static | $_oConfig = null | 
| static | $_oSession = null | 
| static | $_oRights = null | 
| static | $_oActUser = null | 
| static | $_blIsAdmin = null | 
List manager. Collects list data (eg. from DB), performs list changes updating (to DB), etc.
Definition at line 7 of file oxlist.php.
| oxList::__construct | ( | $sObjectName = null | ) | 
Class Constructor
| string | $sObjectName | Associated list item object type | 
Reimplemented in oxCategoryList.
Definition at line 277 of file oxlist.php.
| oxList::__get | ( | $sName | ) | 
Backward compatibility method
| string | $sName | Variable name | 
Reimplemented in oxCategoryList.
Definition at line 296 of file oxlist.php.
      
  | 
  protected | 
Executes assign() method on list object. This method is called in loop in oxList::selectString(). It is if you want to execute any functionality on every list ELEMENT after it is fully loaded (assigned).
| oxBase | $oListObject | List object (the one derived from oxBase) | 
| array | $aDbFields | An array holding db field values (normally the result of oxDb::Execute()) | 
Reimplemented in oxSimpleVariantList.
Definition at line 482 of file oxlist.php.
      
  | 
  protected | 
Returns field long name
| string | $sFieldName | Field name | 
Definition at line 494 of file oxlist.php.
| oxList::add | ( | $oObject | ) | 
Add an entry to object array.
| object | $oObject | Object to be added. | 
Definition at line 391 of file oxlist.php.
| oxList::arrayKeys | ( | ) | 
| oxList::assign | ( | $aArray | ) | 
copies a given array over the objects internal array (something like old $myList->aList = $aArray)
| array | $aArray | array of list items | 
Definition at line 227 of file oxlist.php.
| oxList::assignArray | ( | $aData | ) | 
Assign data from array to list
| array | $aData | data for list | 
Definition at line 405 of file oxlist.php.
| oxList::clear | ( | ) | 
clears/destroys list contents
Definition at line 212 of file oxlist.php.
| oxList::containsFieldValue | ( | $oVal, | |
| $sFieldName | |||
| ) | 
Function checks if there is at least one object in the list which has the given value in the given field
| mixed | $oVal | The searched value | 
| string | $sFieldName | The name of the field, give "oxid" will access the classname__oxid field | 
Definition at line 445 of file oxlist.php.
| oxList::count | ( | ) | 
| oxList::current | ( | ) | 
| oxList::getArray | ( | ) | 
| oxList::getBaseObject | ( | ) | 
Initializes or returns existing list template object.
Definition at line 332 of file oxlist.php.
| oxList::getList | ( | ) | 
| oxList::init | ( | $sObjectName, | |
$sCoreTable = null  | 
        |||
| ) | 
Inits list table name and object name.
| string | $sObjectName | List item object type | 
| string | $sCoreTable | Db table name this list s selected from | 
Definition at line 319 of file oxlist.php.
| oxList::key | ( | ) | 
| oxList::next | ( | ) | 
next for SPL
Definition at line 178 of file oxlist.php.
| oxList::offsetExists | ( | $offset | ) | 
Implementation of SPL Array classes functions follows here
implementation of abstract classes for ArrayAccess follow offsetExists for SPL
| mixed | $offset | SPL array offset | 
Definition at line 57 of file oxlist.php.
| oxList::offsetGet | ( | $offset | ) | 
offsetGet for SPL
| mixed | $offset | SPL array offset | 
Definition at line 73 of file oxlist.php.
| oxList::offsetSet | ( | $offset, | |
| $oBase | |||
| ) | 
offsetSet for SPL
| mixed | $offset | SPL array offset | 
| oxBase | $oBase | Array element | 
Definition at line 88 of file oxlist.php.
| oxList::offsetUnset | ( | $offset | ) | 
offsetUnset for SPL
| mixed | $offset | SPL array offset | 
Definition at line 109 of file oxlist.php.
| oxList::prev | ( | ) | 
| oxList::reverse | ( | ) | 
returns the array reversed, the internal array remains untouched
Definition at line 237 of file oxlist.php.
| oxList::rewind | ( | ) | 
rewind for SPL
Definition at line 132 of file oxlist.php.
| oxList::selectString | ( | $sSql | ) | 
Selects and SQL, creates objects and assign them
| string | $sSql | SQL select statement | 
Reimplemented in oxArticleList.
Definition at line 358 of file oxlist.php.
| oxList::setBaseObject | ( | $oObject | ) | 
Sets base object for list.
| object | $oObject | Base object | 
Definition at line 348 of file oxlist.php.
| oxList::setSqlLimit | ( | $iStart, | |
| $iRecords | |||
| ) | 
Sets SQL Limit
| integer | $iStart | Start e.g. limit Start,xxxx | 
| integer | $iRecords | Nr of Records e.g. limit xxx,Records | 
Definition at line 431 of file oxlist.php.
| oxList::valid | ( | ) | 
      
  | 
  protected | 
Array of objects (some object list).
Definition at line 15 of file oxlist.php.
      
  | 
  protected | 
Definition at line 270 of file oxlist.php.
      
  | 
  protected | 
Save the state, that active element was unset needed for proper foreach iterator functionality
Definition at line 23 of file oxlist.php.
      
  | 
  private | 
Flag if array is ok or not
Definition at line 37 of file oxlist.php.
      
  | 
  private | 
Definition at line 30 of file oxlist.php.
      
  | 
  protected | 
Definition at line 260 of file oxlist.php.
      
  | 
  protected | 
Definition at line 253 of file oxlist.php.
      
  | 
  protected | 
Definition at line 265 of file oxlist.php.