Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ActivitiesModuleController Class Reference

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

Protected Member Functions

 resolveNewModelByRelationInformation ($model, $relationModelClassName, $relationModelId, $relationModuleId)
 addRelatedModelAccountToModel (RedBeanModel $model, RedBeanModel $relatedModel)

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.

addRelatedModelAccountToModel ( RedBeanModel model,
RedBeanModel relatedModel 
) [protected]

Copy the account from a related model to a activity items

Parameters:
RedBeanModel $model
RedBeanModel $relatedModel

Reimplemented from ZurmoModuleController.

Definition at line 86 of file ActivitiesModuleController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 22 07:10:49 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8