OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList:

Public Member Functions

 deleteEntry ()
 
 render ()
 

Protected Member Functions

 _getLanguagesList ()
 
 _sortLanguagesCallback ($oLang1, $oLang2)
 
 _resetMultiLangDbFields ($iLangId)
 

Protected Attributes

 $_sDefSortField = 'sort'
 
 $_sDefSortOrder = 'asc'
 

Detailed Description

Admin selectlist list manager.

Member Function Documentation

◆ _getLanguagesList()

OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList::_getLanguagesList ( )
protected

Collects shop languages list.

Returns
array

◆ _resetMultiLangDbFields()

OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList::_resetMultiLangDbFields (   $iLangId)
protected

Resets all multilanguage fields with specific language id to default value in all tables.

Parameters
string$iLangIdlanguage ID

◆ _sortLanguagesCallback()

OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList::_sortLanguagesCallback (   $oLang1,
  $oLang2 
)
protected

Callback function for sorting languages objects. Sorts array according 'sort' parameter

Parameters
object$oLang1language object
object$oLang2language object
Returns
bool

◆ deleteEntry()

OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList::deleteEntry ( )

Checks for Malladmin rights

Returns
null

◆ render()

OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList::render ( )

Executes parent method parent::render() and returns name of template file "selectlist_list.tpl".

Returns
string

Member Data Documentation

◆ $_sDefSortField

OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList::$_sDefSortField = 'sort'
protected

◆ $_sDefSortOrder

OxidEsales\EshopCommunity\Application\Controller\Admin\LanguageList::$_sDefSortOrder = 'asc'
protected

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