SocialItemZurmoControllerUtil Class Reference

Inheritance diagram for SocialItemZurmoControllerUtil:
FileZurmoControllerUtil ZurmoControllerUtil

Public Member Functions

 __construct ($relatedUser)
 saveModelFromPost ($postData, $model, &$savedSucessfully, &$modelToStringValue, $returnOnValidate=false)

Protected Attributes

 $relatedUser

Detailed Description

Extended class to support saving social items

Definition at line 40 of file SocialItemZurmoControllerUtil.php.


Constructor & Destructor Documentation

__construct ( relatedUser  ) 
Parameters:
User $relatedUser

Definition at line 47 of file SocialItemZurmoControllerUtil.php.


Member Function Documentation

saveModelFromPost ( postData,
model,
&$  savedSucessfully,
&$  modelToStringValue,
returnOnValidate = false 
)

Handles when a user posts to another user's profile social feed. Sets the toUser in that case. (non-PHPdoc)

See also:
ZurmoControllerUtil::saveModelFromPost()
Parameters:
$postData 
$model 
$savedSucessfully 
$modelToStringValue 
bool $returnOnValidate
Returns:
OwnedSecurableItem

Reimplemented from ZurmoControllerUtil.

Definition at line 64 of file SocialItemZurmoControllerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Mar 24 07:10:31 2017