Definition at line 10 of file article_main.php.
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.
Definition at line 25 of file article_main.php.
| Article_Main.save | ( | ) |
Saves changes of article parameters.
Reimplemented from oxAdminView.
Definition at line 118 of file article_main.php.
| 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 |
Definition at line 253 of file article_main.php.
| Article_Main._copyCategories | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying category assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
Definition at line 342 of file article_main.php.
| Article_Main._copyAttributes | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying attributes assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
Definition at line 370 of file article_main.php.
| Article_Main._copySelectlists | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying selectlists assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
Definition at line 396 of file article_main.php.
| Article_Main._copyCrossseling | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying crossseling assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
Definition at line 418 of file article_main.php.
| Article_Main._copyAccessoires | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying accessoires assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
Definition at line 440 of file article_main.php.
| Article_Main._copyStaffelpreis | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying staffelpreis assignments
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
Definition at line 462 of file article_main.php.
| Article_Main._copyArtExtends | ( | $ | sOldID, | |
| $ | sNewID | |||
| ) | [protected] |
Copying article extends
| $sOldID | string Id from old article | |
| $sNewID | string Id from new article |
Definition at line 487 of file article_main.php.
| Article_Main.saveinnlang | ( | ) |
Saves article parameters in different language.
Definition at line 502 of file article_main.php.
| Article_Main.addDefaultValues | ( | $ | aParams | ) |
Sets default values for empty article (currently does nothing), returns array with parameters.
| array | $aParams Parameters, to set default values |
Definition at line 594 of file article_main.php.
| Article_Main._formJumpList | ( | $ | oArticle, | |
| $ | oParentArticle | |||
| ) | [protected] |
Function forms article variants jump list.
| object | &$oArticle article object | |
| object | $oParentArticle article parent object |
Definition at line 607 of file article_main.php.
| Article_Main._getTitle | ( | $ | oObj | ) | [protected] |
Returns formed variant title
| object | &$oObj product object |
Definition at line 647 of file article_main.php.
Article_Main.$_sSavedId = null [protected] |
Definition at line 17 of file article_main.php.
1.5.5