Public Member Functions | |
render () | |
save () | |
addToCategory ($sCatID, $sOXID) | |
copyArticle ($sOldId=null, $sNewId=null, $sParentId=null) | |
saveinnlang () | |
addDefaultValues ($aParams) | |
getCategoryList () | |
getVendorList () | |
getManufacturerList () | |
Protected Member Functions | |
_getEditValue ($oObject, $sField) | |
_processLongDesc ($sValue) | |
_resetCategoriesCounter ($sArticleId) | |
_setTags ($sTags, $sArticleId) | |
_copyCategories ($sOldId, $sNewId) | |
_copyAttributes ($sOldId, $sNewId) | |
_copyFiles ($sOldId, $sNewId) | |
_copySelectlists ($sOldId, $sNewId) | |
_copyCrossseling ($sOldId, $sNewId) | |
_copyAccessoires ($sOldId, $sNewId) | |
_copyStaffelpreis ($sOldId, $sNewId) | |
_copyArtExtends ($sOldId, $sNewId) | |
_formJumpList ($oArticle, $oParentArticle) | |
_getTitle ($oObj) |
Admin article main manager. Collects and updates (on user submit) article base parameters data ( such as title, article No., short Description and etc.). Admin Menu: Manage Products -> Articles -> Main.
Definition at line 9 of file article_main.php.
Article_Main._copyAccessoires | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying accessoires assignments
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 584 of file article_main.php.
Article_Main._copyArtExtends | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying article extends
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 632 of file article_main.php.
Article_Main._copyAttributes | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying attributes assignments
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 478 of file article_main.php.
Article_Main._copyCategories | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying category assignments
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 444 of file article_main.php.
Article_Main._copyCrossseling | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying crossseling assignments
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 559 of file article_main.php.
Article_Main._copyFiles | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying files
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 505 of file article_main.php.
Article_Main._copySelectlists | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying selectlists assignments
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 534 of file article_main.php.
Article_Main._copyStaffelpreis | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Copying staffelpreis assignments
string | $sOldId Id from old article | |
string | $sNewId Id from new article |
Definition at line 609 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 669 of file article_main.php.
Article_Main._getEditValue | ( | $ | oObject, | |
$ | sField | |||
) | [protected] |
Returns string which must be edited by editor
oxbase | $oObject object whifh field will be used for editing | |
string | $sField name of editable field |
Reimplemented from oxAdminDetails.
Definition at line 106 of file article_main.php.
Article_Main._getTitle | ( | $ | oObj | ) | [protected] |
Returns formed variant title
object | $oObj product object |
Definition at line 713 of file article_main.php.
Article_Main._processLongDesc | ( | $ | sValue | ) | [protected] |
Fixes html broken by html editor
string | $sValue value to fix |
Definition at line 260 of file article_main.php.
Article_Main._resetCategoriesCounter | ( | $ | sArticleId | ) | [protected] |
Resets article categories counters
string | $sArticleId Article id |
Definition at line 279 of file article_main.php.
Article_Main._setTags | ( | $ | sTags, | |
$ | sArticleId | |||
) | [protected] |
Sets tags to article. Returns invalid tags array
Definition at line 300 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 658 of file article_main.php.
Article_Main.addToCategory | ( | $ | sCatID, | |
$ | sOXID | |||
) |
Add article to category.
Definition at line 316 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 |
Definition at line 339 of file article_main.php.
Article_Main.getCategoryList | ( | ) |
Returns shop manufacturers list
Definition at line 728 of file article_main.php.
Article_Main.getManufacturerList | ( | ) |
Returns shop manufacturers list
Definition at line 754 of file article_main.php.
Article_Main.getVendorList | ( | ) |
Returns shop manufacturers list
Definition at line 741 of file article_main.php.
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 18 of file article_main.php.
Article_Main.save | ( | ) |
Saves changes of article parameters.
Reimplemented from oxAdminView.
Definition at line 121 of file article_main.php.
Article_Main.saveinnlang | ( | ) |
Saves article parameters in different language.
Definition at line 645 of file article_main.php.