Protected Member Functions | |
resolveNewModelByRelationInformation ($model, $relationModelClassName, $relationModelId, $relationModuleId) | |
addRelatedModelAccountToModel (RedBeanModel $model, RedBeanModel $relatedModel) | |
Static Protected Member Functions | |
static | getZurmoControllerUtil () |
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.
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.
Activity | $model | |
string | $relationModelClassName | |
int | $relationModelId | |
string | $relationModuleId |
NotSupportedException |
Reimplemented from ZurmoModuleController.
Definition at line 60 of file ActivitiesModuleController.php.
addRelatedModelAccountToModel | ( | RedBeanModel $ | model, | |
RedBeanModel $ | relatedModel | |||
) | [protected] |
Copy the account from a related model to a activity items
RedBeanModel | $model | |
RedBeanModel | $relatedModel |
Reimplemented from ZurmoModuleController.
Definition at line 86 of file ActivitiesModuleController.php.