modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php
\DeployedRelationships
Package:
- Parent(s)
- \AbstractRelationships
Properties
$activities= 'array ( 'calls' => 'Calls' , 'meetings' => 'Meetings' , 'notes' => 'Notes' , 'tasks' => 'Tasks' , 'emails' => 'Emails' )'
Default value
array ( 'calls' => 'Calls' , 'meetings' => 'Meetings' , 'notes' => 'Notes' , 'tasks' => 'Tasks' , 'emails' => 'Emails' )
Details- Type
- n/a
- Inherited_from
- \AbstractRelationships::$$activities
$methods= 'array (
'Labels' => 'language' ,
'RelationshipMetaData' => 'relationships' ,
'SubpanelDefinitions' => 'layoutdefs' ,
'Vardefs' => 'vardefs' ,
'FieldsToLayouts' => 'layoutfields',
'WirelessSubpanelDefinitions' => 'wireless_subpanels'
)'
Default value
array (
'Labels' => 'language' ,
'RelationshipMetaData' => 'relationships' ,
'SubpanelDefinitions' => 'layoutdefs' ,
'Vardefs' => 'vardefs' ,
'FieldsToLayouts' => 'layoutfields',
'WirelessSubpanelDefinitions' => 'wireless_subpanels'
)
Details- Type
- n/a
- Inherited_from
- \AbstractRelationships::$$methods
$moduleName= ''
inheritedInherited from:
\AbstractRelationships::$$moduleName
Details
- Type
- n/a
- Inherited_from
- \AbstractRelationships::$$moduleName
$relationships= 'array ( )'
inheritedInherited from:
\AbstractRelationships::$$relationships
Default value
array ( )
Details- Type
- n/a
- Inherited_from
- \AbstractRelationships::$$relationships
$specialCaseBaseNames= 'array( 'quotes_accounts',
'quotes_contacts',
'emails_beans',
'linked_documents',
'project_relation',
'prospect_lists_prospects',
'queues_beans',
'queues_queue',
'tracker_sessions'
)'
inheritedInherited from:
\AbstractRelationships::$$specialCaseBaseNames
Default value
array( 'quotes_accounts',
'quotes_contacts',
'emails_beans',
'linked_documents',
'project_relation',
'prospect_lists_prospects',
'queues_beans',
'queues_queue',
'tracker_sessions'
)
Details- Type
- n/a
- Inherited_from
- \AbstractRelationships::$$specialCaseBaseNames
Methods
_load(
$basepath
)
:
void
inherited
Inherited from:
\AbstractRelationships::_load()
Parameters
Name | Type | Description |
---|---|---|
$basepath |
_save(
$relationships, $basepath
)
:
void
inherited
Inherited from:
\AbstractRelationships::_save()
Parameters
Name | Type | Description |
---|---|---|
$relationships | ||
$basepath |
add(
$relationship
)
:
void
inherited
Inherited from:
\AbstractRelationships::add()
Parameters
Name | Type | Description |
---|---|---|
$relationship |
get(
$relationshipName
)
:
void
inherited
Inherited from:
\AbstractRelationships::get()
Parameters
Name | Type | Description |
---|---|---|
$relationshipName |
getDeployedRelationships(
)
:
void
inherited
Inherited from:
\AbstractRelationships::getDeployedRelationships()
getRelationshipList(
)
:
void
inherited
Inherited from:
\AbstractRelationships::getRelationshipList()
getUniqueName(
$relationship
)
:
void
inherited
Inherited from:
\AbstractRelationships::getUniqueName()
Parameters
Name | Type | Description |
---|---|---|
$relationship |
identifyRelateField(
$thisModuleName, $sourceModuleName
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$thisModuleName | ||
$sourceModuleName |
identifySubpanel(
$thisModuleName, $sourceModuleName
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$thisModuleName | ||
$sourceModuleName |
removeFieldsFromDeployedLayout(
\$relationship $relationship
)
:
void
Added for bug #40941 Deletes the field from DetailView and editView of the appropriate module after the relatioship is deleted in delete() function above.
Parameters
Name | Type | Description |
---|---|---|
$relationship | \$relationship | The relationship that is getting deleted return null |
saveFieldsToLayouts(
$basepath, $dummy, $relationshipName, $layoutAdditions
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$basepath | ||
$dummy | ||
$relationshipName | ||
$layoutAdditions |
saveLabels(
$basepath, $installDefPrefix, $relationshipName, $labelDefinitions
)
:
void
inherited
Inherited from:
\AbstractRelationships::saveLabels()
Parameters
Name | Type | Description |
---|---|---|
$basepath | ||
$installDefPrefix | ||
$relationshipName | ||
$labelDefinitions |
saveRelationshipMetaData(
$basepath, $installDefPrefix, $relationshipName, $relationshipMetaData
)
:
void
inherited
Inherited from:
\AbstractRelationships::saveRelationshipMetaData()
Parameters
Name | Type | Description |
---|---|---|
$basepath | ||
$installDefPrefix | ||
$relationshipName | ||
$relationshipMetaData |
saveSubpanelDefinitions(
$basepath, $installDefPrefix, $relationshipName, $subpanelDefinitions
)
:
void
inherited
Inherited from:
\AbstractRelationships::saveSubpanelDefinitions()
Parameters
Name | Type | Description |
---|---|---|
$basepath | ||
$installDefPrefix | ||
$relationshipName | ||
$subpanelDefinitions |
saveVardefs(
$basepath, $installDefPrefix, $relationshipName, $vardefs
)
:
void
inherited
Inherited from:
\AbstractRelationships::saveVardefs()
Parameters
Name | Type | Description |
---|---|---|
$basepath | ||
$installDefPrefix | ||
$relationshipName | ||
$vardefs |
saveWirelessSubpanelDefinitions(
$basepath, $installDefPrefix, $relationshipName, $subpanelDefinitions
)
:
void
inherited
Inherited from:
\AbstractRelationships::saveWirelessSubpanelDefinitions()
Parameters
Name | Type | Description |
---|---|---|
$basepath | ||
$installDefPrefix | ||
$relationshipName | ||
$subpanelDefinitions |