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

Public Member Functions

 render ()
 getSortableFields ()
 save ()
 saveinnlang ()
 deletePicture ()
- Public Member Functions inherited from oxAdminDetails
 resetNrOfCatArticles ()
 resetNrOfVendorArticles ()
 resetNrOfManufacturerArticles ()
 changeFolder ()
- Public Member Functions inherited from oxAdminView
 __construct ()
 init ()
 addGlobalParams ($oShop=null)
 getServiceUrl ($sLangAbbr=null)
 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

 _processLongDesc ($sValue)
 _deleteCatPicture (oxCategory $oItem, $sField)
- Protected Member Functions inherited from oxAdminDetails
 _getTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null)
 _getEditValue ($oObject, $sField)
 _processEditValue ($sValue)
 _getPlainEditor ($iWidth, $iHeight, $oObject, $sField)
 _generateTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null)
 _createCategoryTree ($sTplVarName, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null)
 _getCategoryTree ($sTplVarName, $sSelectedCatId, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null)
 _setupNavigation ($sNode)
 _resetCounts ($aIds)
- 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)

Additional Inherited Members

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

Detailed Description

Admin article main categories manager. There is possibility to change categories description, sorting, range of price and etc. Admin Menu: Manage Products -> Categories -> Main.

Definition at line 9 of file category_main.php.

Member Function Documentation

Category_Main::_deleteCatPicture ( oxCategory  $oItem,
  $sField 
)
protected

Delete category picture, specified in $sField parameter

Parameters
oxCategory$oItemactive category object
string$sFieldpicture field name
Returns
null

Definition at line 234 of file category_main.php.

Category_Main::_processLongDesc (   $sValue)
protected

Fixes html broken by html editor

Parameters
string$sValuevalue to fix
Returns
string

Definition at line 181 of file category_main.php.

Category_Main::deletePicture ( )

Deletes selected master picture.

Returns
null

Definition at line 202 of file category_main.php.

Category_Main::getSortableFields ( )

Returns an array of article object DB fields, without multi language and unsortible fields.

Returns
array

Definition at line 78 of file category_main.php.

Category_Main::render ( )

Loads article category data, passes it to Smarty engine, returns name of template file "category_main.tpl".

Returns
string

Reimplemented from oxAdminDetails.

Definition at line 17 of file category_main.php.

Category_Main::save ( )

Saves article category data.

Returns
mixed

Reimplemented from oxAdminView.

Definition at line 107 of file category_main.php.

Category_Main::saveinnlang ( )

Saves article category data to different language (eg. english).

Returns
null

Definition at line 192 of file category_main.php.


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