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, 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)
 _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 255 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 313 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 184 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 231 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 209 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 414 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 392 of file oxadmindetails.php.

oxAdminDetails.changeFolder (  ) 

Updates object folder parameters

Returns:
null

Definition at line 369 of file oxadmindetails.php.

oxAdminDetails.render (  ) 
oxAdminDetails.resetNrOfCatArticles (  ) 

Resets number of articles in current shop categories

Returns:
null

Definition at line 273 of file oxadmindetails.php.

oxAdminDetails.resetNrOfManufacturerArticles (  ) 

Resets number of articles in current shop manufacturers

Returns:
null

Definition at line 295 of file oxadmindetails.php.

oxAdminDetails.resetNrOfVendorArticles (  ) 

Resets number of articles in current shop vendors

Returns:
null

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