

Public Member Functions | |
| render () | |
| save () | |
| copyArticle ($sOldId=null, $sNewId=null, $sParentId=null) | |
| saveinnlang () | |
| addDefaultValues ($aParams) | |
Protected Member Functions | |
| _copyCategories ($sOldID, $sNewID) | |
| _copyAttributes ($sOldID, $sNewID) | |
| _copySelectlists ($sOldID, $sNewID) | |
| _copyCrossseling ($sOldID, $sNewID) | |
| _copyAccessoires ($sOldID, $sNewID) | |
| _copyStaffelpreis ($sOldID, $sNewID) | |
| _copyArtExtends ($sOldID, $sNewID) | |
| _formJumpList ($oArticle, $oParentArticle) | |
| _getTitle ($oObj) | |
Protected Attributes | |
| $_sSavedId = null | |
| Article_main.render | ( | ) |
Loads article parameters and passes them to Smarty engine, returns name of template file "article_main.tpl".
Reimplemented from oxAdminDetails.
| Article_main.save | ( | ) |
| Article_main.copyArticle | ( | $ | sOldId = null, |
|
| $ | sNewId = null, |
|||
| $ | sParentId = null | |||
| ) |
Copies article (with all parameters) to new articles.
| string | $sOldId old product id (default null) | |
| string | $sNewId new product id (default null) | |
| string | $sParentId product parent id | |
| bool |
| Article_main._copyCategories | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying category assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
| Article_main._copyAttributes | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying attributes assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
| Article_main._copySelectlists | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying selectlists assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
| Article_main._copyCrossseling | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying crossseling assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
| Article_main._copyAccessoires | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying accessoires assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
| Article_main._copyStaffelpreis | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying staffelpreis assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
| Article_main._copyArtExtends | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying article extends
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
| Article_main.saveinnlang | ( | ) |
Saves article parameters in different language.
| Article_main.addDefaultValues | ( | $ | aParams | ) |
Sets default values for empty article (currently does nothing), returns array with parameters.
| array | $aParams Parameters, to set default values |
| Article_main._formJumpList | ( | $ | oArticle, | |
| $ | oParentArticle | |||
| ) | [protected] |
Function forms article variants jump list.
| object | &$oArticle article object | |
| object | $oParentArticle article parent object |
| Article_main._getTitle | ( | $ | oObj | ) | [protected] |
Returns formed variant title
| object | &$oObj product object |
Article_main.$_sSavedId = null [protected] |
1.5.5