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_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, Discount_Articles, Discount_Main, Discount_Users, dyn_interface, DynExportBase, GenImport_Main, Language_Main, Manufacturer_Main, News_Main, News_Text, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Newsletter_Selection, Object_Seo, Order_Address, Order_Article, Order_Main, Order_Overview, Order_Package, Order_Remark, Payment_Country, Payment_Main, Payment_Overview, PriceAlarm_Mail, PriceAlarm_Main, SelectList_Main, Shop_Config, Shop_Main, Statistic_Main, Statistic_Service, sysreq_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.

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)
 _getPlainEditor ($iWidth, $iHeight, $oObject, $sField)
 _generateTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=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._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 245 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 303 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

Definition at line 187 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 221 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

Reimplemented in Adminlinks_Main.

Definition at line 57 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 399 of file oxadmindetails.php.

oxAdminDetails._setupNavigation ( sNode  )  [protected]

Sets-up navigation parameters

Parameters:
string $sNode active view id
Returns:
null

Reimplemented from oxAdminView.

Definition at line 377 of file oxadmindetails.php.

oxAdminDetails.changeFolder (  ) 

Updates object folder parameters

Returns:
null

Definition at line 354 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_Main, Article_Overview, Article_Pictures, Article_Review, Article_Seo, Article_Stock, Article_Userdef, Article_Variant, Attribute_Category, Attribute_Main, Category_Main, Category_Order, Category_Pictures, Category_Seo, Category_Text, Content_Main, Country_Main, Delivery_Articles, Delivery_Main, Delivery_Users, DeliverySet_Main, DeliverySet_Payment, DeliverySet_Users, Discount_Articles, Discount_Main, Discount_Users, dyn_adbutler, dyn_affili24, dyn_affilinet, dyn_affiliwelt, dyn_econda, dyn_ipayment, dyn_superclix, dyn_trusted, dyn_trusted_ratings, DynExportBase, GenExport_Main, GenImport_Main, Language_Main, Manufacturer_Main, Manufacturer_Seo, News_Main, News_Text, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Newsletter_Selection, Object_Seo, Order_Address, Order_Article, Order_Main, Order_Overview, Order_Package, Order_Remark, Payment_Country, Payment_Main, Payment_Overview, PriceAlarm_Mail, PriceAlarm_Main, SelectList_Main, Shop_Config, Shop_License, Shop_Main, Shop_Seo, Shop_System, Statistic_Main, Statistic_Service, sysreq_main, Tools_Main, User_Address, User_Article, User_Extend, User_Main, User_Overview, User_Payment, User_Remark, UserGroup_Main, Vendor_Main, Vendor_Seo, 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 263 of file oxadmindetails.php.

oxAdminDetails.resetNrOfManufacturerArticles (  ) 

Resets number of articles in current shop manufacturers

Returns:
null

Definition at line 285 of file oxadmindetails.php.

oxAdminDetails.resetNrOfVendorArticles (  ) 

Resets number of articles in current shop vendors

Returns:
null

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