All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
ProductTemplateZurmoControllerUtil Class Reference
Inheritance diagram for ProductTemplateZurmoControllerUtil:
ModelHasFilesAndRelatedItemsZurmoControllerUtil ModelHasRelatedItemsZurmoControllerUtil ZurmoControllerUtil

Public Member Functions

 __construct ($relatedItemsRelationName, $relatedItemsFormName, $productTemplateProductCategoryFormName)
 
- Public Member Functions inherited from ZurmoControllerUtil
 saveModelFromPost ($postData, $model, &$savedSuccessfully, &$modelToStringValue, $returnOnValidate=false)
 
 saveModelFromSanitizedData ($sanitizedData, $model, &$savedSuccessfully, &$modelToStringValue, $returnOnValidate)
 
 validateAjaxFromPost ($model, $postVariableName)
 

Protected Member Functions

 afterSetAttributesDuringSave ($model, $explicitReadWriteModelPermissions)
 
 checkProductTemplatesMassDeletion ()
 
- Protected Member Functions inherited from ZurmoControllerUtil
 afterSetAttributesDuringSave ($model, $explicitReadWriteModelPermissions)
 
 afterSuccessfulSave ($model)
 
 getDataSanitizerUtilClassName ()
 

Protected Attributes

 $productTemplateProductCategoryFormName
 
 $processedProductCategories
 

Additional Inherited Members

- Static Public Member Functions inherited from ZurmoControllerUtil
static updatePermissionsWithDefaultForModelByUser (SecurableItem $model, User $user)
 
static resolveUserDefaultPermissionsForCurrentUser (RedBeanModel $model=null)
 
static resolveUserDefaultPermissionsByUser (User $user, RedBeanModel $model=null)
 
static updatePermissionsWithDefaultForModelByCurrentUser (SecurableItem $model)
 
- Static Protected Member Functions inherited from ZurmoControllerUtil
static resolveAndMakeExplicitReadWriteModelPermissions ($sanitizedData, $model)
 

Detailed Description

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

Definition at line 40 of file ProductTemplateZurmoControllerUtil.php.

Constructor & Destructor Documentation

__construct (   $relatedItemsRelationName,
  $relatedItemsFormName,
  $productTemplateProductCategoryFormName 
)
Parameters
string$relatedItemsRelationName
string$relatedItemsFormName
string$productTemplateProductCategoryFormName

Definition at line 51 of file ProductTemplateZurmoControllerUtil.php.

Member Function Documentation

afterSetAttributesDuringSave (   $model,
  $explicitReadWriteModelPermissions 
)
protected
Parameters
RedBeanModel$model
array$explicitReadWriteModelPermissions

Definition at line 63 of file ProductTemplateZurmoControllerUtil.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:40