modules/ModuleBuilder/parsers/relationships/DeployedRelationships.php

Show: inherited
Table of Contents

\DeployedRelationships

Package:
Parent(s)
\AbstractRelationships

Properties

Propertypublic  $activities= 'array ( 'calls' => 'Calls' , 'meetings' => 'Meetings' , 'notes' => 'Notes' , 'tasks' => 'Tasks' , 'emails' => 'Emails' )'
staticinheritedInherited from: \AbstractRelationships::$$activities
Default valuearray ( 'calls' => 'Calls' , 'meetings' => 'Meetings' , 'notes' => 'Notes' , 'tasks' => 'Tasks' , 'emails' => 'Emails' )Details
Type
n/a
Inherited_from
\AbstractRelationships::$$activities  
Propertypublic  $methods= 'array ( 'Labels' => 'language' , 'RelationshipMetaData' => 'relationships' , 'SubpanelDefinitions' => 'layoutdefs' , 'Vardefs' => 'vardefs' , 'FieldsToLayouts' => 'layoutfields', 'WirelessSubpanelDefinitions' => 'wireless_subpanels' )'
staticinheritedInherited from: \AbstractRelationships::$$methods
Default valuearray ( 'Labels' => 'language' , 'RelationshipMetaData' => 'relationships' , 'SubpanelDefinitions' => 'layoutdefs' , 'Vardefs' => 'vardefs' , 'FieldsToLayouts' => 'layoutfields', 'WirelessSubpanelDefinitions' => 'wireless_subpanels' )Details
Type
n/a
Inherited_from
\AbstractRelationships::$$methods  
Propertyprotected  $moduleName= ''
inheritedInherited from: \AbstractRelationships::$$moduleName
Details
Type
n/a
Inherited_from
\AbstractRelationships::$$moduleName  
Propertyprotected  $relationships= 'array ( )'
inheritedInherited from: \AbstractRelationships::$$relationships
Default valuearray ( )Details
Type
n/a
Inherited_from
\AbstractRelationships::$$relationships  
Propertyprotected  $specialCaseBaseNames= 'array( 'quotes_accounts', 'quotes_contacts', 'emails_beans', 'linked_documents', 'project_relation', 'prospect_lists_prospects', 'queues_beans', 'queues_queue', 'tracker_sessions' )'
Default valuearray( '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

methodpublic__construct(  $moduleName ) : void

Parameters
Name Type Description
$moduleName
methodprotected_load(  $basepath ) : void
inherited

Inherited from: \AbstractRelationships::_load()
Parameters
Name Type Description
$basepath
methodprotected_save(  $relationships,  $basepath ) : void
inherited

Inherited from: \AbstractRelationships::_save()
Parameters
Name Type Description
$relationships
$basepath
methodprotected_updateRelationshipDefinition(  $definition ) : void

Parameters
Name Type Description
$definition
methodpublicadd(  $relationship ) : void
inherited

Inherited from: \AbstractRelationships::add()
Parameters
Name Type Description
$relationship
methodpublicaddFromPost( ) : void
inherited

Inherited from: \AbstractRelationships::addFromPost()
methodpublicbuild( ) : void

methodpublicdelete(  $rel_name ) : void

Parameters
Name Type Description
$rel_name
methodpublicenforceRelationshipOnly(  $relationship ) : void

Parameters
Name Type Description
$relationship
methodpublicfindRelatableModules( ) : void
static

methodpublicget(  $relationshipName ) : void
inherited

Inherited from: \AbstractRelationships::get()
Parameters
Name Type Description
$relationshipName
methodprotectedgetAllRelationships( ) : void

methodprotectedgetDeployedRelationships( ) : void
methodpublicgetRelationshipList( ) : void
methodprotectedgetUniqueName(  $relationship ) : void
inherited

Inherited from: \AbstractRelationships::getUniqueName()
Parameters
Name Type Description
$relationship
methodprivateidentifyRelateField(  $thisModuleName,  $sourceModuleName ) : void
static

Parameters
Name Type Description
$thisModuleName
$sourceModuleName
methodprivateidentifySubpanel(  $thisModuleName,  $sourceModuleName ) : void
static

Parameters
Name Type Description
$thisModuleName
$sourceModuleName
methodpublicload( ) : void

methodpublicparseDeployedModuleName(  $deployedName ) : void
staticinherited

Inherited from: \AbstractRelationships::parseDeployedModuleName()
Parameters
Name Type Description
$deployedName
methodprivateremoveFieldsFromDeployedLayout( \$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

methodpublicsave( ) : void

methodprotectedsaveFieldsToLayouts(  $basepath,  $dummy,  $relationshipName,  $layoutAdditions ) : void

Parameters
Name Type Description
$basepath
$dummy
$relationshipName
$layoutAdditions
methodprotectedsaveLabels(  $basepath,  $installDefPrefix,  $relationshipName,  $labelDefinitions ) : void
inherited

Inherited from: \AbstractRelationships::saveLabels()
Parameters
Name Type Description
$basepath
$installDefPrefix
$relationshipName
$labelDefinitions
methodprotectedsaveRelationshipMetaData(  $basepath,  $installDefPrefix,  $relationshipName,  $relationshipMetaData ) : void
Parameters
Name Type Description
$basepath
$installDefPrefix
$relationshipName
$relationshipMetaData
methodprotectedsaveSubpanelDefinitions(  $basepath,  $installDefPrefix,  $relationshipName,  $subpanelDefinitions ) : void
Parameters
Name Type Description
$basepath
$installDefPrefix
$relationshipName
$subpanelDefinitions
methodprotectedsaveVardefs(  $basepath,  $installDefPrefix,  $relationshipName,  $vardefs ) : void
inherited

Inherited from: \AbstractRelationships::saveVardefs()
Parameters
Name Type Description
$basepath
$installDefPrefix
$relationshipName
$vardefs
methodprotectedsaveWirelessSubpanelDefinitions(  $basepath,  $installDefPrefix,  $relationshipName,  $subpanelDefinitions ) : void
Parameters
Name Type Description
$basepath
$installDefPrefix
$relationshipName
$subpanelDefinitions
methodpublicvalidSubpanel(  $filename ) : void
staticinherited

Inherited from: \AbstractRelationships::validSubpanel()
Parameters
Name Type Description
$filename
Documentation was generated by DocBlox 0.18.1.