All Data Structures Functions Variables Pages
Static Public Member Functions
ProjectZurmoCopyModelUtil Class Reference
Inheritance diagram for ProjectZurmoCopyModelUtil:
ZurmoCopyModelUtil

Static Public Member Functions

static copy (RedBeanModel $model, RedBeanModel $copyToModel)
 
static processAfterCopy (RedBeanModel $model, RedBeanModel $copyToModel)
 
- Static Public Member Functions inherited from ZurmoCopyModelUtil
static copy (RedBeanModel $model, RedBeanModel $copyToModel)
 

Additional Inherited Members

- Static Protected Member Functions inherited from ZurmoCopyModelUtil
static copyNonRelation (RedBeanModel $model, $attributeName, RedBeanModel $copyToModel)
 
static copyRelation (RedBeanModel $model, $attributeName, RedBeanModel $copyToModel)
 
static copyOwnedModelRelation (RedBeanModel $model, $attributeName, RedBeanModel $copyToModel)
 
static copyMultipleValuesCustomFieldRelation (RedBeanModel $model, $attributeName, RedBeanModel $copyToModel)
 
static resolveExplicitPermissions (RedBeanModel $model, RedBeanModel $copyToModel)
 

Detailed Description

Utility for copying the attributes from one project model to another. Utilized by 'duplicate' functionality accessed from a detail view for a model.

Definition at line 41 of file ProjectZurmoCopyModelUtil.php.

Member Function Documentation

static copy ( RedBeanModel  $model,
RedBeanModel  $copyToModel 
)
static

Use copy of parent class in addition to copy accounts, contacts and opportunities

Parameters
RedBeanModel$model
RedBeanModel$copyToModel- model to copy attribute values from $model to

Definition at line 48 of file ProjectZurmoCopyModelUtil.php.


The documentation for this class was generated from the following file:
Generated on Fri Jun 5 2020 07:10:59