All Data Structures Functions Variables Pages
Protected Member Functions
MeetingHasRelatedItemsZurmoControllerUtil Class Reference
Inheritance diagram for MeetingHasRelatedItemsZurmoControllerUtil:
ModelHasRelatedItemsZurmoControllerUtil ZurmoControllerUtil

Protected Member Functions

 resolveModelsRelatedItemsFromPost (&$model)
 
 resolveUserAttendees (&$model, $reformedUserAttendees=array())
 
- Protected Member Functions inherited from ZurmoControllerUtil
 afterSetAttributesDuringSave ($model, $explicitReadWriteModelPermissions)
 
 afterSuccessfulSave ($model)
 
 getDataSanitizerUtilClassName ()
 

Additional Inherited Members

- Public Member Functions inherited from ZurmoControllerUtil
 saveModelFromPost ($postData, $model, &$savedSuccessfully, &$modelToStringValue, $returnOnValidate=false)
 
 saveModelFromSanitizedData ($sanitizedData, $model, &$savedSuccessfully, &$modelToStringValue, $returnOnValidate)
 
 validateAjaxFromPost ($model, $postVariableName)
 
- 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

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

Definition at line 40 of file MeetingHasRelatedItemsZurmoControllerUtil.php.

Member Function Documentation

resolveModelsRelatedItemsFromPost ( $model)
protected

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

Definition at line 45 of file MeetingHasRelatedItemsZurmoControllerUtil.php.

resolveUserAttendees ( $model,
  $reformedUserAttendees = array() 
)
protected
Parameters
$model
array$reformedUserAttendeesarray of User Ids Remove user attendees that are not provided. Add additional. Do not re-add already added ones.

Definition at line 80 of file MeetingHasRelatedItemsZurmoControllerUtil.php.


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