ProductZurmoControllerUtil Class Reference

Inheritance diagram for ProductZurmoControllerUtil:
ModelHasFilesAndRelatedItemsZurmoControllerUtil ModelHasRelatedItemsZurmoControllerUtil ZurmoControllerUtil

Public Member Functions

 __construct ($relatedItemsRelationName, $relatedItemsFormName, $productCategoryFormName)
 resolveStageDefaultValue ($product)

Protected Member Functions

 afterSetAttributesDuringSave ($model, $explicitReadWriteModelPermissions)

Protected Attributes

 $productCategoryFormName
 $processedProductCategories

Detailed Description

Class helps support adding/removing product categories while saving a product template from a post.

Definition at line 40 of file ProductZurmoControllerUtil.php.


Constructor & Destructor Documentation

__construct ( relatedItemsRelationName,
relatedItemsFormName,
productCategoryFormName 
)

Constructor for class

Parameters:
string $relatedItemsRelationName
string $relatedItemsFormName
string $productCategoryFormName

Definition at line 52 of file ProductZurmoControllerUtil.php.


Member Function Documentation

afterSetAttributesDuringSave ( model,
explicitReadWriteModelPermissions 
) [protected]
Parameters:
object $model
attay $explicitReadWriteModelPermissions

Reimplemented from ModelHasFilesAndRelatedItemsZurmoControllerUtil.

Definition at line 64 of file ProductZurmoControllerUtil.php.

resolveStageDefaultValue ( product  ) 

Resolve stage default value

Parameters:
RedBeanModel $product
Returns:
string

Definition at line 81 of file ProductZurmoControllerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon May 29 07:10:28 2017