Definition at line 8 of file oxlist.php.
Public Member Functions | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $oBase) | |
offsetUnset ($offset) | |
arrayKeys () | |
rewind () | |
current () | |
key () | |
next () | |
valid () | |
count () | |
clear () | |
assign ($aArray) | |
reverse () | |
__construct ($sObjectName=null) | |
__get ($sName) | |
getArray () | |
init ($sObjectName, $sCoreTable=null) | |
setAssignCallbackPrepend ($aAssignCallbackPrepend) | |
setAssignCallback ($aAssignCallBack) | |
getBaseObject () | |
selectString ($sSql) | |
setSqlLimit ($iStart, $iRecords) | |
setObjectCallback ($aCallbackArray) | |
containsFieldValue ($oVal, $sFieldName) | |
getList () | |
Protected Member Functions | |
_getFieldLongName ($sFieldName) | |
Protected Attributes | |
$_aArray = array() | |
$_sObjectsInListName = 'oxBase' | |
$_sCoreTable = null | |
$_sShopID = null | |
$_aAssignCallbackPrepend = null | |
$_aAssignCallback = null | |
$_aSqlLimit = array() | |
Private Attributes | |
$_oBaseObject = null | |
$_blValid = true |
oxList.__construct | ( | $ | sObjectName = null |
) |
Class Constructor
string | $sObjectName Associated list item object type |
Reimplemented in oxAttributeList, oxCategoryList, oxContentList, oxCountryList, oxDeliveryList, oxDeliverySetList, oxDiscountList, oxPaymentList, oxShopList, oxUserList, and oxVendorList.
Definition at line 266 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 49 of file oxlist.php.
oxList.offsetGet | ( | $ | offset | ) |
offsetGet for SPL
mixed | $offset SPL array offset |
Definition at line 65 of file oxlist.php.
oxList.offsetSet | ( | $ | offset, | |
$ | oBase | |||
) |
offsetSet for SPL
mixed | $offset SPL array offset | |
oxBase | $oBase Array element |
Definition at line 82 of file oxlist.php.
oxList.offsetUnset | ( | $ | offset | ) |
offsetUnset for SPL
mixed | $offset SPL array offset |
Definition at line 105 of file oxlist.php.
oxList.arrayKeys | ( | ) |
oxList.rewind | ( | ) |
oxList.current | ( | ) |
oxList.key | ( | ) |
oxList.next | ( | ) |
oxList.valid | ( | ) |
oxList.count | ( | ) |
oxList.clear | ( | ) |
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 202 of file oxlist.php.
oxList.reverse | ( | ) |
returns the array reversed, the internal array remains untouched
Definition at line 212 of file oxlist.php.
oxList.__get | ( | $ | sName | ) |
Backward compatibility method
string | $sName Variable name |
Reimplemented in oxCategoryList.
Definition at line 285 of file oxlist.php.
oxList.getArray | ( | ) |
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 314 of file oxlist.php.
oxList.setAssignCallbackPrepend | ( | $ | aAssignCallbackPrepend | ) |
Sets function to be called on list object before loading it
array | $aAssignCallbackPrepend callback array |
Definition at line 329 of file oxlist.php.
oxList.setAssignCallback | ( | $ | aAssignCallBack | ) |
Sets function to be called on list object before loading it
array | $aAssignCallBack callback array |
Definition at line 341 of file oxlist.php.
oxList.getBaseObject | ( | ) |
Initializes or returns existing list template object.
Definition at line 351 of file oxlist.php.
oxList.selectString | ( | $ | sSql | ) |
Selects and SQL, creates objects and assign them
string | $sSql SQL select statement |
Reimplemented in oxArticleList, and oxCountryList.
Definition at line 368 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 423 of file oxlist.php.
oxList.setObjectCallback | ( | $ | aCallbackArray | ) |
Set's callback array for lists objects, will be called upon loadind see call_user_func for more info
array | $aCallbackArray Callback array |
Definition at line 437 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 450 of file oxlist.php.
oxList.getList | ( | ) |
oxList._getFieldLongName | ( | $ | sFieldName | ) | [protected] |
Returns field long name
string | $sFieldName Field name |
Definition at line 484 of file oxlist.php.
oxList.$_aArray = array() [protected] |
Definition at line 15 of file oxlist.php.
oxList.$_oBaseObject = null [private] |
Definition at line 22 of file oxlist.php.
oxList.$_blValid = true [private] |
Definition at line 29 of file oxlist.php.
oxList.$_sObjectsInListName = 'oxBase' [protected] |
Reimplemented in oxArticleList, oxCategoryList, and oxNewslist.
Definition at line 228 of file oxlist.php.
oxList.$_sCoreTable = null [protected] |
Definition at line 235 of file oxlist.php.
oxList.$_sShopID = null [protected] |
Definition at line 240 of file oxlist.php.
oxList.$_aAssignCallbackPrepend = null [protected] |
Definition at line 247 of file oxlist.php.
oxList.$_aAssignCallback = null [protected] |
Definition at line 254 of file oxlist.php.
oxList.$_aSqlLimit = array() [protected] |
Definition at line 259 of file oxlist.php.