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

ProjectZurmoControllerUtil Class Reference

Inheritance diagram for ProjectZurmoControllerUtil:
ModelHasFilesAndRelatedItemsZurmoControllerUtil ModelHasRelatedItemsZurmoControllerUtil ZurmoControllerUtil

Static Public Member Functions

static resolveProjectManyManyAccountsFromPost (Project $project, $postData)
static resolveProjectManyManyContactsFromPost (Project $project, $postData)
static resolveProjectManyManyOpportunitiesFromPost (Project $project, $postData)
static getProjectsLatestActivityFeedView ($controller, $pageSize)

Protected Member Functions

 afterSetAttributesDuringSave ($model, $explicitReadWriteModelPermissions)

Protected Attributes

 $projectAccounts

Detailed Description

Class helps support adding/removing relations accounts, contacts and opportunities while saving a project from a post.

Definition at line 40 of file ProjectZurmoControllerUtil.php.


Member Function Documentation

afterSetAttributesDuringSave ( model,
explicitReadWriteModelPermissions 
) [protected]
Parameters:
object $model
attay $explicitReadWriteModelPermissions

Reimplemented from ModelHasFilesAndRelatedItemsZurmoControllerUtil.

Definition at line 48 of file ProjectZurmoControllerUtil.php.

static resolveProjectManyManyAccountsFromPost ( Project project,
postData 
) [static]

Resolves the accounts sent via post request

Parameters:
Project $project
array $postData
Returns:
array containing accounts

Definition at line 75 of file ProjectZurmoControllerUtil.php.

static resolveProjectManyManyContactsFromPost ( Project project,
postData 
) [static]

Resolves the contacts sent via post request

Parameters:
Project $project
array $postData
Returns:
array containing contacts

Definition at line 111 of file ProjectZurmoControllerUtil.php.

static resolveProjectManyManyOpportunitiesFromPost ( Project project,
postData 
) [static]

Resolves the opportunities sent via post request

Parameters:
Project $project
array $postData
Returns:
array containing opportunities

Definition at line 147 of file ProjectZurmoControllerUtil.php.

static getProjectsLatestActivityFeedView ( controller,
pageSize 
) [static]

Get latest activity feed list view

Returns:
ListView

Definition at line 181 of file ProjectZurmoControllerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jun 15 07:11:07 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