OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxAdminDetails Class Reference

Inherits oxAdminView.

Inherited by Actions_Main, Adminguestbook_Main, Adminlinks_Main, Article_Attribute, Article_Crossselling, Article_Extend, Article_Files, Article_Main, Article_Overview, Article_Pictures, Article_Review, Article_Stock, Article_Userdef, Article_Variant, Attribute_Category, Attribute_Main, Category_Main, Category_Order, Category_Pictures, Category_Text, Content_Main, Country_Main, Delivery_Articles, Delivery_Main, Delivery_Users, DeliverySet_Main, DeliverySet_Payment, DeliverySet_Users, Diagnostics_Main, Discount_Articles, Discount_Main, Discount_Users, dyn_interface, DynExportBase, GenImport_Main, Language_Main, Manufacturer_Main, Module_Main, Module_SortList, News_Main, News_Text, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Newsletter_Selection, Object_Seo, Order_Address, Order_Article, Order_Downloads, Order_Main, Order_Overview, Order_Package, Order_Remark, Payment_Country, Payment_Main, payment_rdfa, PriceAlarm_Mail, PriceAlarm_Main, SelectList_Main, Shop_Config, Shop_Main, Statistic_Main, Statistic_Service, sysreq_main, Theme_Main, Tools_Main, User_Address, User_Article, User_Extend, User_Main, User_Overview, User_Payment, User_Remark, UserGroup_Main, Vendor_Main, VoucherSerie_Groups, and Wrapping_Main.

+ Collaboration diagram for oxAdminDetails:

Public Member Functions

 render ()
 resetNrOfCatArticles ()
 resetNrOfVendorArticles ()
 resetNrOfManufacturerArticles ()
 changeFolder ()
- 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

 _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)
 _resetContentCache ()
 _allowAdminEdit ($sUserId)
 _getCountryByCode ($sCountryCode)
 _authorize ()
- Protected Member Functions inherited from oxView
 _executeNewAction ($sNewAction)

Protected Attributes

 $_oEditor = 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

Including AJAX wrapper class Admin selectlist list manager.

Definition at line 11 of file oxadmindetails.php.

Member Function Documentation

oxAdminDetails::_createCategoryTree (   $sTplVarName,
  $sEditCatId = '',
  $blForceNonCache = false,
  $iTreeShopId = null 
)
protected

Function creates category tree for select list used in "Category main", "Article extend" etc.

Parameters
string$sTplVarNamename of template variable where is stored category tree
string$sEditCatIdID of category witch we are editing
bool$blForceNonCacheSet to true to disable caching
int$iTreeShopIdtree shop id
Returns
string

Definition at line 319 of file oxadmindetails.php.

oxAdminDetails::_generateTextEditor (   $iWidth,
  $iHeight,
  $oObject,
  $sField,
  $sStylesheet = null 
)
protected

Generates Text editor html code

Parameters
int$iWidtheditor width
int$iHeighteditor height
object$oObjectobject passed to editor
string$sFieldobject field which content is passed to editor
string$sStylesheetstylesheet to use in editor
Returns
string Editor output

Definition at line 269 of file oxadmindetails.php.

oxAdminDetails::_getCategoryTree (   $sTplVarName,
  $sSelectedCatId,
  $sEditCatId = '',
  $blForceNonCache = false,
  $iTreeShopId = null 
)
protected

Function creates category tree for select list used in "Category main", "Article extend" etc. Returns ID of selected category if available

Parameters
string$sTplVarNamename of template variable where is stored category tree
string$sSelectedCatIdID of category witch was selected in select list
string$sEditCatIdID of category witch we are editing
bool$blForceNonCacheSet to true to disable caching
int$iTreeShopIdtree shop id
Returns
string

Definition at line 364 of file oxadmindetails.php.

oxAdminDetails::_getEditValue (   $oObject,
  $sField 
)
protected

Returns string which must be edited by editor

Parameters
oxbase$oObjectobject whifh field will be used for editing
string$sFieldname of editable field
Returns
string

Reimplemented in Article_Main.

Definition at line 196 of file oxadmindetails.php.

oxAdminDetails::_getPlainEditor (   $iWidth,
  $iHeight,
  $oObject,
  $sField 
)
protected

Returns textarea filled with text to edit

Parameters
int$iWidtheditor width
int$iHeighteditor height
object$oObjectobject passed to editor
string$sFieldobject field which content is passed to editor
Returns
string

Definition at line 244 of file oxadmindetails.php.

oxAdminDetails::_getTextEditor (   $iWidth,
  $iHeight,
  $oObject,
  $sField,
  $sStylesheet = null 
)
protected

Initiates Text editor

Parameters
int$iWidtheditor width
int$iHeighteditor height
object$oObjectobject passed to editor
string$sFieldobject field which content is passed to editor
string$sStylesheetstylesheet to use in editor
Returns
wysiwygPro

Definition at line 65 of file oxadmindetails.php.

oxAdminDetails::_processEditValue (   $sValue)
protected

Processes edit value

Parameters
string$sValuestring to process
Returns
string

Definition at line 221 of file oxadmindetails.php.

oxAdminDetails::_resetCounts (   $aIds)
protected

Resets count of vendor/manufacturer category items

Parameters
string$aIdsarray to reset type => id

Definition at line 436 of file oxadmindetails.php.

oxAdminDetails::_setupNavigation (   $sNode)
protected

Sets-up navigation parameters

Parameters
string$sNodeactive view id

Reimplemented from oxAdminView.

Reimplemented in Newsletter_Send.

Definition at line 416 of file oxadmindetails.php.

oxAdminDetails::changeFolder ( )

Updates object folder parameters

Definition at line 395 of file oxadmindetails.php.

oxAdminDetails::render ( )

Calls parent::render, sets admin help url

Returns
string

Reimplemented from oxAdminView.

Reimplemented in DynExportBase, Diagnostics_Main, GenImport_Main, User_Payment, Language_Main, Order_Article, dyn_trusted, VoucherSerie_Main, Shop_License, GenExport_Main, Article_Files, Shop_Config, Module_Config, Order_Main, Article_Extend, SelectList_Main, Shop_Main, dyn_trusted_ratings, Newsletter_Selection, User_Address, Article_Variant, Newsletter_Send, Order_Downloads, Shop_System, Payment_Main, Shop_Seo, Theme_Config, User_Main, Article_Crossselling, Delivery_Articles, News_Main, VoucherSerie_Groups, Actions_Main, Article_Attribute, Article_Main, Article_Overview, Article_Pictures, Article_Review, Article_Stock, Attribute_Category, Attribute_Main, Category_Main, Delivery_Main, Delivery_Users, DeliverySet_Main, DeliverySet_Payment, DeliverySet_Users, Discount_Articles, Discount_Users, dyn_econda, Module_Main, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Order_Address, Order_Overview, Order_Package, Order_Remark, Payment_Country, PriceAlarm_Mail, PriceAlarm_Main, Statistic_Main, Theme_Main, User_Remark, UserGroup_Main, Wrapping_Main, Adminguestbook_Main, Adminlinks_Main, Category_Order, Category_Pictures, Category_Text, Content_Main, Country_Main, Discount_Main, Manufacturer_Main, Statistic_Service, Tools_Main, User_Article, User_Extend, Vendor_Main, Module_SortList, Object_Seo, sysreq_main, Article_Userdef, News_Text, and User_Overview.

Definition at line 26 of file oxadmindetails.php.

oxAdminDetails::resetNrOfCatArticles ( )

Resets number of articles in current shop categories

Definition at line 285 of file oxadmindetails.php.

oxAdminDetails::resetNrOfManufacturerArticles ( )

Resets number of articles in current shop manufacturers

Definition at line 303 of file oxadmindetails.php.

oxAdminDetails::resetNrOfVendorArticles ( )

Resets number of articles in current shop vendors

Definition at line 294 of file oxadmindetails.php.

Member Data Documentation

oxAdminDetails::$_oEditor = null
protected

Definition at line 19 of file oxadmindetails.php.


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