Public Member Functions | |
getListSorting () | |
getListFilter () | |
getViewListSize () | |
render () | |
deleteEntry () | |
buildWhere () | |
getItemList () | |
clearItemList () | |
getItemListBaseObject () | |
Protected Member Functions | |
_getViewListSize () | |
_getUserDefListSize () | |
_calcListItemsCount ($sSql) | |
_setCurrentListPosition ($sPage=null) | |
_prepareOrderByQuery ($sSql=null) | |
_buildSelectString ($oListObject=null) | |
_processFilter ($sFieldValue) | |
_buildFilter ($sVal, $blIsSearchValue) | |
_isSearchValue ($sFieldValue) | |
_prepareWhereQuery ($aWhere, $sqlFull) | |
_changeselect ($sSql) | |
_convertToDBDate ($sValue, $sFldType) | |
_convertDate ($sDate) | |
_convertTime ($sFullDate) | |
_setListNavigationParams () | |
_setupNavigation ($sNode) | |
Protected Attributes | |
$_sListClass = null | |
$_sListType = 'oxlist' | |
$_oList = null | |
$_iCurrListPos = 0 | |
$_iListSize = 0 | |
$_aWhere = null | |
$_blDesc = false | |
$_blEmployMultilanguage = null | |
$_iOverPos = null | |
$_iViewListSize = 0 | |
$_iDefViewListSize = 50 | |
$_aCurrSorting = null | |
$_sDefSortField = null | |
$_aListFilter = null |
Admin selectlist list manager.
Definition at line 6 of file oxadminlist.php.
oxAdminList._buildFilter | ( | $ | sVal, | |
$ | blIsSearchValue | |||
) | [protected] |
Builds part of SQL query
string | $sVal filter value | |
bool | $blIsSearchValue filter value type, true means surrount search key with '' |
Definition at line 362 of file oxadminlist.php.
oxAdminList._buildSelectString | ( | $ | oListObject = null |
) | [protected] |
Builds and returns SQL query string.
object | $oListObject list main object |
Reimplemented in Article_List, List_Order, List_Review, Order_List, and PriceAlarm_List.
Definition at line 329 of file oxadminlist.php.
oxAdminList._calcListItemsCount | ( | $ | sSql | ) | [protected] |
Calculates list items count
string | $sSql SQL query used co select list items |
Reimplemented in List_Order.
Definition at line 236 of file oxadminlist.php.
oxAdminList._changeselect | ( | $ | sSql | ) | [protected] |
Override this for individual search in admin.
string | $sSql SQL select to change |
Definition at line 464 of file oxadminlist.php.
oxAdminList._convertDate | ( | $ | sDate | ) | [protected] |
Converter for date field search. If not full date will be searched.
string | $sDate searched date |
Definition at line 554 of file oxadminlist.php.
oxAdminList._convertTime | ( | $ | sFullDate | ) | [protected] |
Converter for datetime field search. If not full time will be searched.
string | $sFullDate searched date |
Definition at line 590 of file oxadminlist.php.
oxAdminList._convertToDBDate | ( | $ | sValue, | |
$ | sFldType | |||
) | [protected] |
Converts date/datetime values to DB scheme (M1260)
string | $sValue field value | |
string | $sFldType field type |
Definition at line 522 of file oxadminlist.php.
oxAdminList._getUserDefListSize | ( | ) | [protected] |
Viewable list size getter (used in list_*.php views)
Definition at line 179 of file oxadminlist.php.
oxAdminList._getViewListSize | ( | ) | [protected] |
Viewable list size getter
Reimplemented in List_Order, List_Review, and List_User.
Definition at line 144 of file oxadminlist.php.
oxAdminList._isSearchValue | ( | $ | sFieldValue | ) | [protected] |
Checks if filter contains wildcards like %
string | $sFieldValue filter value |
Definition at line 382 of file oxadminlist.php.
oxAdminList._prepareOrderByQuery | ( | $ | sSql = null |
) | [protected] |
Adds order by to SQL query string.
string | $sSql sql string |
Reimplemented in List_Order.
Definition at line 282 of file oxadminlist.php.
oxAdminList._prepareWhereQuery | ( | $ | aWhere, | |
$ | sqlFull | |||
) | [protected] |
Prepares SQL where query according SQL condition array and attaches it to SQL end. For each search value if german umlauts exist, adds them and replaced by spec. char to query
array | $aWhere SQL condition array | |
string | $sqlFull SQL query string |
Reimplemented in Actions_List, Content_List, List_Order, List_Review, Order_List, and User_List.
Definition at line 405 of file oxadminlist.php.
oxAdminList._processFilter | ( | $ | sFieldValue | ) | [protected] |
Prepares SQL where query according SQL condition array and attaches it to SQL end. For each search value if german umlauts exist, adds them and replaced by spec. char to query
string | $sFieldValue Filters |
Definition at line 344 of file oxadminlist.php.
oxAdminList._setCurrentListPosition | ( | $ | sPage = null |
) | [protected] |
Set current list position
string | $sPage jump page string |
Definition at line 258 of file oxadminlist.php.
oxAdminList._setListNavigationParams | ( | ) | [protected] |
Set parameters needed for list navigation
Definition at line 628 of file oxadminlist.php.
oxAdminList._setupNavigation | ( | $ | sNode | ) | [protected] |
Sets-up navigation parameters
string | $sNode active view id |
Reimplemented from oxAdminView.
Reimplemented in PriceAlarm_Send.
Definition at line 712 of file oxadminlist.php.
oxAdminList.buildWhere | ( | ) |
Builds and returns array of SQL WHERE conditions.
Reimplemented in Article_List, PriceAlarm_List, and Shop_List.
Definition at line 475 of file oxadminlist.php.
oxAdminList.clearItemList | ( | ) |
Clear items list
Definition at line 797 of file oxadminlist.php.
oxAdminList.deleteEntry | ( | ) |
Deletes this entry from the database
Reimplemented in Article_List, Language_List, User_List, and VoucherSerie_List.
Definition at line 214 of file oxadminlist.php.
oxAdminList.getItemList | ( | ) |
oxAdminList.getItemListBaseObject | ( | ) |
oxAdminList.getListFilter | ( | ) |
oxAdminList.getListSorting | ( | ) |
Returns sorting fields array
Reimplemented in Adminlinks_List, Category_List, List_Order, News_List, and Order_List.
Definition at line 112 of file oxadminlist.php.
oxAdminList.getViewListSize | ( | ) |
oxAdminList.render | ( | ) |
Executes parent.render(), sets back search keys to view, sets navigation params
Reimplemented from oxAdminView.
Reimplemented in Actions_List, AdminGuestbook_List, Article_List, Category_List, Content_List, Country_List, Dynscreen_List, Language_List, List_Order, List_Review, List_User, Module_List, Order_List, PriceAlarm_Send, Shop_List, Theme_List, UserGroup_List, and Wrapping_List.
Definition at line 196 of file oxadminlist.php.
oxAdminList.$_aCurrSorting = null [protected] |
Definition at line 91 of file oxadminlist.php.
oxAdminList.$_aListFilter = null [protected] |
Definition at line 105 of file oxadminlist.php.
oxAdminList.$_aWhere = null [protected] |
Definition at line 49 of file oxadminlist.php.
oxAdminList.$_blDesc = false [protected] |
Reimplemented in AdminGuestbook_List, Country_List, List_Order, and Order_List.
Definition at line 56 of file oxadminlist.php.
oxAdminList.$_blEmployMultilanguage = null [protected] |
Definition at line 63 of file oxadminlist.php.
oxAdminList.$_iCurrListPos = 0 [protected] |
Definition at line 35 of file oxadminlist.php.
oxAdminList.$_iDefViewListSize = 50 [protected] |
Definition at line 84 of file oxadminlist.php.
oxAdminList.$_iListSize = 0 [protected] |
Definition at line 42 of file oxadminlist.php.
oxAdminList.$_iOverPos = null [protected] |
Definition at line 70 of file oxadminlist.php.
oxAdminList.$_iViewListSize = 0 [protected] |
Definition at line 77 of file oxadminlist.php.
oxAdminList.$_oList = null [protected] |
Definition at line 28 of file oxadminlist.php.
oxAdminList.$_sDefSortField = null [protected] |
Reimplemented in Actions_List, AdminGuestbook_List, Adminlinks_List, Attribute_List, Country_List, Delivery_List, DeliverySet_List, Discount_List, Language_List, Manufacturer_List, News_List, Newsletter_List, Order_List, Payment_List, PriceAlarm_List, SelectList_List, Shop_List, User_List, UserGroup_List, Vendor_List, and Wrapping_List.
Definition at line 98 of file oxadminlist.php.
oxAdminList.$_sListClass = null [protected] |
Reimplemented in Actions_List, AdminGuestbook_List, Adminlinks_List, Article_List, Attribute_List, Category_List, Content_List, Country_List, Delivery_List, DeliverySet_List, Discount_List, List_Review, Manufacturer_List, News_List, Newsletter_List, Order_List, Payment_List, PriceAlarm_List, SelectList_List, Shop_List, Statistic_List, User_List, UserGroup_List, Vendor_List, VoucherSerie_List, and Wrapping_List.
Definition at line 14 of file oxadminlist.php.
oxAdminList.$_sListType = 'oxlist' [protected] |
Reimplemented in Article_List, Category_List, Content_List, Delivery_List, DeliverySet_List, Discount_List, List_Review, News_List, and User_List.
Definition at line 21 of file oxadminlist.php.