Definition at line 9 of file article_main.php.
Public Member Functions | |
render () | |
save () | |
copyArticle ($sOldId=null, $sNewId=null, $sParentId=null) | |
saveinnlang () | |
addDefaultValues ($aParams) | |
getCategoryList () | |
getVendorList () | |
getManufacturerList () | |
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 24 of file article_main.php.
Article_Main.save | ( | ) |
Saves changes of article parameters.
Reimplemented from oxAdminView.
Definition at line 104 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 243 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 334 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 368 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 395 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 421 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 446 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 471 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 496 of file article_main.php.
Article_Main.saveinnlang | ( | ) |
Saves article parameters in different language.
Definition at line 511 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 610 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 623 of file article_main.php.
Article_Main._getTitle | ( | $ | oObj | ) | [protected] |
Returns formed variant title
object | &$oObj product object |
Definition at line 663 of file article_main.php.
Article_Main.getCategoryList | ( | ) |
Returns shop manufacturers list
Definition at line 678 of file article_main.php.
Article_Main.getVendorList | ( | ) |
Returns shop manufacturers list
Definition at line 690 of file article_main.php.
Article_Main.getManufacturerList | ( | ) |
Returns shop manufacturers list
Definition at line 703 of file article_main.php.
Article_Main.$_sSavedId = null [protected] |
Definition at line 16 of file article_main.php.