DefaultModelNameIdDerivedAttributeMappingRuleForm Class Reference

Inheritance diagram for DefaultModelNameIdDerivedAttributeMappingRuleForm:
DerivedAttributeMappingRuleForm MappingRuleForm ConfigurableMetadataModel

Public Member Functions

 __construct ($modelClassName, $derivedAttributeType)
 rules ()
 getId ()
 attributeLabels ()
 getDefaultModelName ()
 getModuleIdOfDefaultModel ()

Static Public Member Functions

static getAttributeName ()

Data Fields

 $defaultModelId
 $defaultModelStringifiedName

Protected Attributes

 $moduleIdOfDefaultModel

Detailed Description

Form for handling default values for relation type attributes that are derived.

See also:
ModelDerivedAttributeImportRules

Definition at line 41 of file DefaultModelNameIdDerivedAttributeMappingRuleForm.php.


Constructor & Destructor Documentation

__construct ( modelClassName,
derivedAttributeType 
)

For this class, the $derivedAttributeType also happens to be the modelClassName. In order to use this class you must ensure the $derivedAttributeType coming into this method is a valid model class name.

Parameters:
unknown_type $modelClassName
string $derivedAttributeType

Reimplemented from DerivedAttributeMappingRuleForm.

Definition at line 65 of file DefaultModelNameIdDerivedAttributeMappingRuleForm.php.


Member Function Documentation

getId (  ) 

This method is needed in the interface to work properly with the elements that use it.

Definition at line 82 of file DefaultModelNameIdDerivedAttributeMappingRuleForm.php.

static getAttributeName (  )  [static]

A mapping rule form has one attribute. This returns the name of that attribute.

Reimplemented from MappingRuleForm.

Definition at line 93 of file DefaultModelNameIdDerivedAttributeMappingRuleForm.php.

getDefaultModelName (  ) 

If needed get the stringified model name if the default model id is populated.

Definition at line 101 of file DefaultModelNameIdDerivedAttributeMappingRuleForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu May 25 07:10:24 2017