Inheritance diagram for Article_Variant:
Collaboration diagram for Article_Variant:Public Member Functions | |
| render () | |
| savevariant ($sOXID=null, $aParams=null) | |
| savevariants () | |
| deleteVariant () | |
| changename () | |
| addsel () | |
Protected Member Functions | |
| _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 164 of file article_variant.php.
| Article_Variant.addsel | ( | ) |
| Article_Variant.changename | ( | ) |
| 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 23 of file article_variant.php.
| Article_Variant.savevariant | ( | $ | sOXID = null, |
|
| $ | aParams = null | |||
| ) |
Saves article variant.
| string | $sOXID Object ID | |
| array | $aParams Parameters |
Definition at line 96 of file article_variant.php.
| Article_Variant.savevariants | ( | ) |
Saves all article variants at once.
Definition at line 182 of file article_variant.php.
Article_Variant.$_oProductParent = null [protected] |
Definition at line 15 of file article_variant.php.
1.7.1