OXID eShop CE  4.8.12
 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)
 _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 316 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 260 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 361 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 189 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 236 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 63 of file oxadmindetails.php.

oxAdminDetails::_processEditValue (   $sValue)
protected

Processes edit value

Parameters
string$sValuestring to process
Returns
string

Definition at line 214 of file oxadmindetails.php.

oxAdminDetails::_resetCounts (   $aIds)
protected

Resets count of vendor/manufacturer category items

Parameters
string$aIdsarray to reset type => id
Returns
null

Definition at line 439 of file oxadmindetails.php.

oxAdminDetails::_setupNavigation (   $sNode)
protected

Sets-up navigation parameters

Parameters
string$sNodeactive view id
Returns
null

Reimplemented from oxAdminView.

Reimplemented in Newsletter_Send.

Definition at line 417 of file oxadmindetails.php.

oxAdminDetails::changeFolder ( )

Updates object folder parameters

Returns
null

Definition at line 394 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, GenExport_Main, Shop_License, Article_Files, Shop_Config, SelectList_Main, Shop_Main, Article_Extend, Order_Downloads, User_Address, Article_Variant, dyn_trusted_ratings, Newsletter_Selection, Newsletter_Send, Payment_Main, Shop_System, News_Main, Shop_Seo, Delivery_Articles, dyn_econda, Module_Config, Theme_Config, User_Main, Article_Crossselling, Module_Main, Theme_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, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Order_Address, Order_Main, Order_Overview, Order_Package, Order_Remark, Payment_Country, PriceAlarm_Mail, PriceAlarm_Main, Statistic_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, Module_SortList, Statistic_Service, Tools_Main, User_Article, User_Extend, Vendor_Main, Object_Seo, sysreq_main, Article_Userdef, News_Text, and User_Overview.

Definition at line 25 of file oxadmindetails.php.

oxAdminDetails::resetNrOfCatArticles ( )

Resets number of articles in current shop categories

Returns
null

Definition at line 278 of file oxadmindetails.php.

oxAdminDetails::resetNrOfManufacturerArticles ( )

Resets number of articles in current shop manufacturers

Returns
null

Definition at line 300 of file oxadmindetails.php.

oxAdminDetails::resetNrOfVendorArticles ( )

Resets number of articles in current shop vendors

Returns
null

Definition at line 289 of file oxadmindetails.php.

Member Data Documentation

oxAdminDetails::$_oEditor = null
protected

Definition at line 18 of file oxadmindetails.php.


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