Article_Variant Class Reference

Inheritance diagram for Article_Variant:
Inheritance graph
[legend]
Collaboration diagram for Article_Variant:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 render ()
 savevariant ($sOXID=null, $aParams=null)
 savevariants ()
 deleteVariant ()
 changename ()
 addsel ()

Protected Member Functions

 _getProductParent ($sParentId)

Protected Attributes

 $_oProductParent = null

Detailed Description

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.


Member Function Documentation

Article_Variant._getProductParent ( sParentId  )  [protected]

Returns variant parent object

Parameters:
string $sParentId parent product id
Returns:
oxarticle

Definition at line 151 of file article_variant.php.

Article_Variant.addsel (  ) 

Add selection list

Returns:
null

Definition at line 227 of file article_variant.php.

Article_Variant.changename (  ) 

Changes name of variant.

Returns:
null

Definition at line 200 of file article_variant.php.

Article_Variant.deleteVariant (  ) 

Deletes article variant.

Returns:
null

Definition at line 186 of file article_variant.php.

Article_Variant.render (  ) 

Loads article variants data, passes it to Smarty engine and returns name of template file "article_variant.tpl".

Returns:
string

Reimplemented from oxAdminDetails.

Definition at line 23 of file article_variant.php.

Article_Variant.savevariant ( sOXID = null,
aParams = null 
)

Saves article variant.

Parameters:
string $sOXID Object ID
array $aParams Parameters
Returns:
null

Definition at line 96 of file article_variant.php.

Article_Variant.savevariants (  ) 

Saves all article variants at once.

Returns:
null

Definition at line 169 of file article_variant.php.


Member Data Documentation

Article_Variant.$_oProductParent = null [protected]

Definition at line 15 of file article_variant.php.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2