OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
oxAdminList Class Reference
+ Inheritance diagram for oxAdminList:
+ Collaboration diagram for oxAdminList:

Public Member Functions

 getListSorting ()
 getListFilter ()
 getViewListSize ()
 render ()
 deleteEntry ()
 buildWhere ()
 getItemList ()
 clearItemList ()
 getItemListBaseObject ()
- Public Member Functions inherited from oxAdminView
 __construct ()
 init ()
 addGlobalParams ($oShop=null)
 getServiceUrl ($sLangAbbr=null)
 save ()
 resetContentCache ($blForceReset=null)
 resetCounter ($sCounterType, $sValue=null)
 getNavigation ()
 getViewId ()
 chshp ()
 resetSeoData ($sShopId)
 getPreviewId ()
 getEditObjectId ()
 setEditObjectId ($sId)
- Public Member Functions inherited from oxView
 setViewParameters ($aParams=null)
 getViewParameter ($sKey)
 setIsCallForCache ($blIsCallForCache=null)
 getIsCallForCache ()
 addTplParam ($sPara, $sValue)
 getBelboonParam ()
 getViewConfig ()
 getTemplateName ()
 setTemplateName ($sTemplate)
 setClassName ($sClassName)
 getClassName ()
 setFncName ($sFncName)
 getFncName ()
 setViewData ($aViewData=null)
 getViewData ()
 getViewDataElement ($sParamId=null)
 setClassLocation ($sClassLocation=null)
 getClassLocation ()
 setThisAction ($sThisAction=null)
 getThisAction ()
 setParent ($oParent=null)
 getParent ()
 setIsComponent ($blIsComponent=null)
 getIsComponent ()
 executeFunction ($sFunction)
 getAdditionalParams ()
 getTrustedShopId ()
 getTSExcellenceId ()
 getCharSet ()
 getShopVersion ()
 getShopEdition ()
 getRevision ()
 getPackageInfo ()
 getShopFullEdition ()
 isDemoVersion ()
 isBetaVersion ()
 isRCVersion ()
 showBetaNote ()
 isDemoShop ()
 showNewsletter ()
 setShowNewsletter ($blShow)
 getShopLogo ()
 setShopLogo ($sLogo)
 getActCategory ()
 setActCategory ($oCategory)
 getCategoryId ()
 setCategoryId ($sCategoryId)
 getErrorDestination ()
 getActionClassName ()
 isConnectedWithFb ()
 getFbUserId ()
 showFbConnectToAccountMsg ()
 isMall ()
 showRdfa ()
 getSidForWidget ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

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 Member Functions inherited from oxAdminView
 _getEditShop ($sShopId)
 _getServiceProtocol ()
 _getShopVersionNr ()
 _addNavigationHistory ($sNode)
 _getMaxUploadFileInfo ($iMaxFileSize, $blFormatted=false)
 _allowAdminEdit ($sUserId)
 _getCountryByCode ($sCountryCode)
 _authorize ()
- Protected Member Functions inherited from oxView
 _executeNewAction ($sNewAction)

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
- Protected Attributes inherited from oxAdminView
 $_aSumType
 $_sThisTemplate = null
 $_iDefEdit = 0
 $_iEditLang = 0
 $_sShopTitle = " - "
 $_sShopVersion = null
 $_sServiceUrl = null
 $_oEditShop = null
 $_sEditObjectId = null
- Protected Attributes inherited from oxView
 $_aViewData = array()
 $_sClassLocation = null
 $_sThisAction = null
 $_oParent = null
 $_blIsComponent = false
 $_sThisTemplate = null
 $_sViewId = null
 $_sClass = null
 $_sFnc = null
 $_sTrustedShopId = null
 $_sTSExcellenceId = null
 $_sCharSet = null
 $_sVersion = null
 $_blDemoVersion = null
 $_blDemoShop = null
 $_iNewsStatus = null
 $_sShopLogo = null
 $_sCategoryId = null
 $_oClickCat = null
 $_blIsCallForCache = false
 $_oViewConf = null

Additional Inherited Members

- Static Protected Attributes inherited from oxAdminView
static $_oNaviTree = null
static $_sAuthUserRights = null

Detailed Description

Admin selectlist list manager.

Definition at line 6 of file oxadminlist.php.

Member Function Documentation

oxAdminList::_buildFilter (   $sVal,
  $blIsSearchValue 
)
protected

Builds part of SQL query

Parameters
string$sValfilter value
bool$blIsSearchValuefilter value type, true means surrount search key with ''
Returns
string

Definition at line 363 of file oxadminlist.php.

oxAdminList::_buildSelectString (   $oListObject = null)
protected

Builds and returns SQL query string.

Parameters
object$oListObjectlist main object
Returns
string

Reimplemented in Article_List, List_Order, Order_List, List_Review, and PriceAlarm_List.

Definition at line 331 of file oxadminlist.php.

oxAdminList::_calcListItemsCount (   $sSql)
protected

Calculates list items count

Parameters
string$sSqlSQL query used co select list items
Returns
null

Reimplemented in List_Order.

Definition at line 236 of file oxadminlist.php.

oxAdminList::_changeselect (   $sSql)
protected

Override this for individual search in admin.

Parameters
string$sSqlSQL select to change
Returns
string

Definition at line 465 of file oxadminlist.php.

oxAdminList::_convertDate (   $sDate)
protected

Converter for date field search. If not full date will be searched.

Parameters
string$sDatesearched date
Returns
string

Definition at line 554 of file oxadminlist.php.

oxAdminList::_convertTime (   $sFullDate)
protected

Converter for datetime field search. If not full time will be searched.

Parameters
string$sFullDatesearched date
Returns
string

Definition at line 590 of file oxadminlist.php.

oxAdminList::_convertToDBDate (   $sValue,
  $sFldType 
)
protected

Converts date/datetime values to DB scheme (#M1260)

Parameters
string$sValuefield value
string$sFldTypefield type
Returns
string

Definition at line 523 of file oxadminlist.php.

oxAdminList::_getUserDefListSize ( )
protected

Viewable list size getter (used in list_*.php views)

Returns
int

Definition at line 178 of file oxadminlist.php.

oxAdminList::_getViewListSize ( )
protected

Viewable list size getter

Returns
int

Reimplemented in List_Order, List_Review, and List_User.

Definition at line 143 of file oxadminlist.php.

oxAdminList::_isSearchValue (   $sFieldValue)
protected

Checks if filter contains wildcards like %

Parameters
string$sFieldValuefilter value
Returns
bool

Definition at line 383 of file oxadminlist.php.

oxAdminList::_prepareOrderByQuery (   $sSql = null)
protected

Adds order by to SQL query string.

Parameters
string$sSqlsql string
Returns
string

Reimplemented in List_Order.

Definition at line 284 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

Parameters
array$aWhereSQL condition array
string$sqlFullSQL query string
Returns
string

Reimplemented in List_Review, User_List, Order_List, List_Order, Actions_List, and Content_List.

Definition at line 406 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

Parameters
string$sFieldValueFilters
Returns
string

Definition at line 346 of file oxadminlist.php.

oxAdminList::_setCurrentListPosition (   $sPage = null)
protected

Set current list position

Parameters
string$sPagejump page string
Returns
null

Definition at line 260 of file oxadminlist.php.

oxAdminList::_setListNavigationParams ( )
protected

Set parameters needed for list navigation

Returns
null

Definition at line 630 of file oxadminlist.php.

oxAdminList::_setupNavigation (   $sNode)
protected

Sets-up navigation parameters

Parameters
string$sNodeactive view id
Returns
null

Reimplemented from oxAdminView.

Reimplemented in PriceAlarm_Send, and Dynscreen.

Definition at line 716 of file oxadminlist.php.

oxAdminList::buildWhere ( )

Builds and returns array of SQL WHERE conditions.

Returns
array

Reimplemented in Article_List, Shop_List, and PriceAlarm_List.

Definition at line 476 of file oxadminlist.php.

oxAdminList::clearItemList ( )

Clear items list

Returns
null

Definition at line 803 of file oxadminlist.php.

oxAdminList::deleteEntry ( )

Deletes this entry from the database

Returns
null

Reimplemented in Article_List, User_List, VoucherSerie_List, and Language_List.

Definition at line 213 of file oxadminlist.php.

oxAdminList::getItemList ( )

Returns items list

Returns
oxList

Definition at line 753 of file oxadminlist.php.

oxAdminList::getItemListBaseObject ( )

Returns item list base object

Returns
oxBase

Definition at line 813 of file oxadminlist.php.

oxAdminList::getListFilter ( )

Returns list filter array

Returns
array

Definition at line 129 of file oxadminlist.php.

oxAdminList::getListSorting ( )

Returns sorting fields array

Returns
array

Reimplemented in Order_List, News_List, Adminlinks_List, Category_List, and List_Order.

Definition at line 111 of file oxadminlist.php.

oxAdminList::getViewListSize ( )

Returns view list size

Returns
int

Definition at line 168 of file oxadminlist.php.

oxAdminList::render ( )

Executes parent::render(), sets back search keys to view, sets navigation params

Returns
null

Reimplemented from oxAdminView.

Reimplemented in Language_List, Shop_List, Category_List, List_Order, AdminGuestbook_List, List_Review, Order_List, Actions_List, Country_List, List_User, Article_List, Content_List, UserGroup_List, Wrapping_List, Module_List, PriceAlarm_Send, Dynscreen_List, and Theme_List.

Definition at line 195 of file oxadminlist.php.

Member Data Documentation

oxAdminList::$_aCurrSorting = null
protected

Definition at line 90 of file oxadminlist.php.

oxAdminList::$_aListFilter = null
protected

Definition at line 104 of file oxadminlist.php.

oxAdminList::$_aWhere = null
protected

Definition at line 48 of file oxadminlist.php.

oxAdminList::$_blDesc = false
protected

Definition at line 55 of file oxadminlist.php.

oxAdminList::$_blEmployMultilanguage = null
protected

Definition at line 62 of file oxadminlist.php.

oxAdminList::$_iCurrListPos = 0
protected

Definition at line 34 of file oxadminlist.php.

oxAdminList::$_iDefViewListSize = 50
protected

Definition at line 83 of file oxadminlist.php.

oxAdminList::$_iListSize = 0
protected

Definition at line 41 of file oxadminlist.php.

oxAdminList::$_iOverPos = null
protected

Definition at line 69 of file oxadminlist.php.

oxAdminList::$_iViewListSize = 0
protected

Definition at line 76 of file oxadminlist.php.

oxAdminList::$_oList = null
protected

Definition at line 27 of file oxadminlist.php.

oxAdminList::$_sDefSortField = null
protected

Definition at line 97 of file oxadminlist.php.

oxAdminList::$_sListClass = null
protected

Definition at line 13 of file oxadminlist.php.

oxAdminList::$_sListType = 'oxlist'
protected

Definition at line 20 of file oxadminlist.php.


The documentation for this class was generated from the following file: