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 71 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 107 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 143 of file ProjectZurmoControllerUtil.php.

static getProjectsLatestActivityFeedView ( controller,
pageSize 
) [static]

Get latest activity feed list view

Returns:
ListView

Definition at line 177 of file ProjectZurmoControllerUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Aug 22 07:10:29 2017