ActivitiesModuleController Class Reference

Inheritance diagram for ActivitiesModuleController:
ZurmoModuleController ZurmoBaseController Controller ActivityModelsDefaultController MeetingsDefaultController NotesDefaultController TasksDefaultController

Protected Member Functions

 resolveNewModelByRelationInformation ($model, $relationModelClassName, $relationModelId, $relationModuleId)

Static Protected Member Functions

static getZurmoControllerUtil ()

Detailed Description

Activities Modules such as Meetings, Notes, and Tasks should extend this class to provide generic functionality that is applicable to all activity modules.

Definition at line 42 of file ActivitiesModuleController.php.


Member Function Documentation

resolveNewModelByRelationInformation ( model,
relationModelClassName,
relationModelId,
relationModuleId 
) [protected]

Override to handle the special scenario of relations for an activity. Since relations are done in the ActivityItems, the relation information needs to handled in a specific way.

See also:
ZurmoModuleController->resolveNewModelByRelationInformation
Parameters:
Activity $model
string $relationModelClassName
int $relationModelId
string $relationModuleId
Returns:
mixed
Exceptions:
NotSupportedException 

Reimplemented from ZurmoModuleController.

Definition at line 60 of file ActivitiesModuleController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Sep 20 07:10:21 2017