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

Public Member Functions

 render ()
 
 save ()
 
 saveinnlang ()
 
 delFields ()
 
 addField ()
 
 changeField ()
 
 parseFieldName ($sInput)
 

Public Attributes

 $aFieldArray = null
 

Protected Member Functions

 _rearrangeFields ($oField, $iPos)
 

Detailed Description

Admin article main selectlist manager. Performs collection and updatind (on user submit) main item information.

Member Function Documentation

◆ _rearrangeFields()

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::_rearrangeFields (   $oField,
  $iPos 
)
protected

Resorts fields list and moves $oField to $iPos, uses $this->aFieldArray for fields storage.

Parameters
object$oFieldfield to be moved
integer$iPosnew pos of the field
Returns
bool - true if failed.

◆ addField()

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::addField ( )

Adds a field to field array and stores object

Returns
null

◆ changeField()

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::changeField ( )

Modifies field from field array's first elem. and stores object

Returns
null

◆ delFields()

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::delFields ( )

Deletes field from field array and stores object

Returns
null

◆ parseFieldName()

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::parseFieldName (   $sInput)

Parses field name from given string String format is: "someNr__@@someName__@@someTxt"

Parameters
string$sInputgiven string
Returns
string - name

◆ render()

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

Executes parent method parent::render(), creates oxCategoryList object, passes it's data to Smarty engine and returns name of template file "selectlist_main.tpl".

Returns
string

◆ save()

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::save ( )

Saves selection list parameters changes.

Returns
mixed

◆ saveinnlang()

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::saveinnlang ( )

Saves selection list parameters changes in different language (eg. english).

Returns
null

Member Data Documentation

◆ $aFieldArray

OxidEsales\EshopCommunity\Application\Controller\Admin\SelectListMain::$aFieldArray = null

Keeps all act. fields to store


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