Public Member Functions | Protected Member Functions | Protected Attributes

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:

List of all members.

Public Member Functions

 render ()
 resetNrOfCatArticles ()
 resetNrOfVendorArticles ()
 resetNrOfManufacturerArticles ()
 changeFolder ()

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 Attributes

 $_oEditor = 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 $sTplVarName name of template variable where is stored category tree
string $sEditCatId ID of category witch we are editing
bool $blForceNonCache Set to true to disable caching
int $iTreeShopId tree shop id
Returns:
string

Definition at line 315 of file oxadmindetails.php.

oxAdminDetails._generateTextEditor ( iWidth,
iHeight,
oObject,
sField,
sStylesheet = null 
) [protected]

Generates Text editor html code

Parameters:
int $iWidth editor width
int $iHeight editor height
object $oObject object passed to editor
string $sField object field which content is passed to editor
string $sStylesheet stylesheet to use in editor
Returns:
string Editor output

Definition at line 259 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 $sTplVarName name of template variable where is stored category tree
string $sSelectedCatId ID of category witch was selected in select list
string $sEditCatId ID of category witch we are editing
bool $blForceNonCache Set to true to disable caching
int $iTreeShopId tree shop id
Returns:
string

Definition at line 360 of file oxadmindetails.php.

oxAdminDetails._getEditValue ( oObject,
sField 
) [protected]

Returns string which must be edited by editor

Parameters:
oxbase $oObject object whifh field will be used for editing
string $sField name of editable field
Returns:
string

Reimplemented in Article_Main.

Definition at line 188 of file oxadmindetails.php.

oxAdminDetails._getPlainEditor ( iWidth,
iHeight,
oObject,
sField 
) [protected]

Returns textarea filled with text to edit

Parameters:
int $iWidth editor width
int $iHeight editor height
object $oObject object passed to editor
string $sField object field which content is passed to editor
Returns:
string

Definition at line 235 of file oxadmindetails.php.

oxAdminDetails._getTextEditor ( iWidth,
iHeight,
oObject,
sField,
sStylesheet = null 
) [protected]

Initiates Text editor

Parameters:
int $iWidth editor width
int $iHeight editor height
object $oObject object passed to editor
string $sField object field which content is passed to editor
string $sStylesheet stylesheet to use in editor
Returns:
wysiwygPro

Definition at line 63 of file oxadmindetails.php.

oxAdminDetails._processEditValue ( sValue  )  [protected]

Processes edit value

Parameters:
string $sValue string to process
Returns:
string

Definition at line 213 of file oxadmindetails.php.

oxAdminDetails._resetCounts ( aIds  )  [protected]

Resets count of vendor/manufacturer category items

Parameters:
string $aIds array to reset type => id
Returns:
null

Definition at line 438 of file oxadmindetails.php.

oxAdminDetails._setupNavigation ( sNode  )  [protected]

Sets-up navigation parameters

Parameters:
string $sNode active view id
Returns:
null

Reimplemented from oxAdminView.

Reimplemented in Newsletter_Send.

Definition at line 416 of file oxadmindetails.php.

oxAdminDetails.changeFolder (  ) 

Updates object folder parameters

Returns:
null

Definition at line 393 of file oxadmindetails.php.

oxAdminDetails.render (  ) 

Calls parent.render, sets admin help url

Returns:
string

Reimplemented from oxAdminView.

Reimplemented in 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_econda, dyn_trusted, dyn_trusted_ratings, DynExportBase, GenExport_Main, GenImport_Main, Language_Main, Manufacturer_Main, Module_Config, Module_Main, Module_Sortlist, News_Main, News_Text, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Newsletter_Selection, Newsletter_Send, Object_Seo, Order_Address, Order_Article, Order_Downloads, Order_Main, Order_Overview, Order_Package, Order_Remark, Payment_Country, Payment_Main, PriceAlarm_Mail, PriceAlarm_Main, SelectList_Main, Shop_Config, Shop_License, Shop_Main, Shop_Seo, Shop_System, Statistic_Main, Statistic_Service, sysreq_main, Theme_Config, Theme_Main, Tools_Main, User_Address, User_Article, User_Extend, User_Main, User_Overview, User_Payment, User_Remark, UserGroup_Main, Vendor_Main, VoucherSerie_Groups, VoucherSerie_Main, and Wrapping_Main.

Definition at line 25 of file oxadmindetails.php.

oxAdminDetails.resetNrOfCatArticles (  ) 

Resets number of articles in current shop categories

Returns:
null

Definition at line 277 of file oxadmindetails.php.

oxAdminDetails.resetNrOfManufacturerArticles (  ) 

Resets number of articles in current shop manufacturers

Returns:
null

Definition at line 299 of file oxadmindetails.php.

oxAdminDetails.resetNrOfVendorArticles (  ) 

Resets number of articles in current shop vendors

Returns:
null

Definition at line 288 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: