ModelHasRelatedItemsZurmoControllerUtil Class Reference

Inheritance diagram for ModelHasRelatedItemsZurmoControllerUtil:
ZurmoControllerUtil MeetingHasRelatedItemsZurmoControllerUtil ModelHasFilesAndRelatedItemsZurmoControllerUtil TaskZurmoControllerUtil ConversationZurmoControllerUtil ProductTemplateZurmoControllerUtil ProductZurmoControllerUtil ProjectZurmoControllerUtil

Public Member Functions

 __construct ($relatedItemsRelationName, $relatedItemsFormName)

Protected Member Functions

 afterSetAttributesDuringSave ($model, $explicitReadWriteModelPermissions)
 resolveModelsRelatedItemsFromPost (&$model)

Protected Attributes

 $relatedItemsRelationName
 $relatedItemsFormName

Detailed Description

Extended class to support models that have related items such as activities or conversations.

Definition at line 40 of file ModelHasRelatedItemsZurmoControllerUtil.php.


Constructor & Destructor Documentation

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

Definition at line 50 of file ModelHasRelatedItemsZurmoControllerUtil.php.


Member Function Documentation

resolveModelsRelatedItemsFromPost ( &$  model  )  [protected]

Passing in a $model, process any relatedItems that have to be removed, added, or changed.

Reimplemented in MeetingHasRelatedItemsZurmoControllerUtil.

Definition at line 67 of file ModelHasRelatedItemsZurmoControllerUtil.php.


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