Public Member Functions | |
render () | |
savevariants () | |
deleteVariant () | |
changename () | |
addsel () | |
Protected Member Functions | |
_isAnythingChanged ($oProduct, $aData) | |
_getProductParent ($sParentId) | |
Protected Attributes | |
$_oProductParent = null |
Admin article variants manager. Collects and updates article variants data. Admin Menu: Manage Products -> Articles -> Variants.
Definition at line 8 of file article_variant.php.
Article_Variant._getProductParent | ( | $ | sParentId | ) | [protected] |
Returns variant parent object
string | $sParentId parent product id |
Definition at line 180 of file article_variant.php.
Article_Variant._isAnythingChanged | ( | $ | oProduct, | |
$ | aData | |||
) | [protected] |
Checks if anything is changed in given data compared with existing product values.
oxArticle | $oProduct Product to be checked. | |
array | $aData Data provided for check. |
Definition at line 159 of file article_variant.php.
Article_Variant.addsel | ( | ) |
Article_Variant.changename | ( | ) |
Changes name of variant.
Definition at line 229 of file article_variant.php.
Article_Variant.deleteVariant | ( | ) |
Article_Variant.render | ( | ) |
Loads article variants data, passes it to Smarty engine and returns name of template file "article_variant.tpl".
Reimplemented from oxAdminDetails.
Definition at line 24 of file article_variant.php.
Article_Variant.savevariants | ( | ) |
Saves all article variants at once.
Definition at line 198 of file article_variant.php.
Article_Variant.$_oProductParent = null [protected] |
Definition at line 16 of file article_variant.php.