CommentZurmoControllerUtil Class Reference

Inheritance diagram for CommentZurmoControllerUtil:
FileZurmoControllerUtil ZurmoControllerUtil

Public Member Functions

 __construct ($relatedModel, $relationName)

Protected Member Functions

 afterSetAttributesDuringSave ($model, $explicitReadWriteModelPermissions)
 afterSuccessfulSave ($model)

Protected Attributes

 $relatedModel
 $relationName

Detailed Description

Extended class to support saving comments against a related model

Definition at line 40 of file CommentZurmoControllerUtil.php.


Constructor & Destructor Documentation

__construct ( relatedModel,
relationName 
)
Parameters:
$relatedModel 
string $relationName

Definition at line 50 of file CommentZurmoControllerUtil.php.


Member Function Documentation

afterSetAttributesDuringSave ( model,
explicitReadWriteModelPermissions 
) [protected]

Override to handle saving the comment against the conversation/mission/social item if it is not already connected. (non-PHPdoc)

See also:
ModelHasRelatedItemsZurmoControllerUtil::afterSetAttributesDuringSave()

Reimplemented from FileZurmoControllerUtil.

Definition at line 63 of file CommentZurmoControllerUtil.php.

afterSuccessfulSave ( model  )  [protected]

Override to handle sending email messages on new comment

Reimplemented from ZurmoControllerUtil.

Definition at line 89 of file CommentZurmoControllerUtil.php.


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