All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Attributes
DefaultModelNameIdDerivedAttributeMappingRuleForm Class Reference
Inheritance diagram for DefaultModelNameIdDerivedAttributeMappingRuleForm:
DerivedAttributeMappingRuleForm MappingRuleForm ConfigurableMetadataModel

Public Member Functions

 __construct ($modelClassName, $derivedAttributeType)
 
 rules ()
 
 getId ()
 
 attributeLabels ()
 
 getDefaultModelName ()
 
 getModuleIdOfDefaultModel ()
 
- Public Member Functions inherited from DerivedAttributeMappingRuleForm
 __construct ($modelClassName, $derivedAttributeType)
 
- Public Member Functions inherited from MappingRuleForm
 rules ()
 
 attributeLabels ()
 

Static Public Member Functions

static getAttributeName ()
 
- Static Public Member Functions inherited from MappingRuleForm
static getType ()
 
static getAttributeName ()
 

Data Fields

 $defaultModelId
 
 $defaultModelStringifiedName
 

Protected Attributes

 $moduleIdOfDefaultModel
 
- Protected Attributes inherited from DerivedAttributeMappingRuleForm
 $modelClassName
 
 $derivedAttributeType
 

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

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.

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:
Generated on Sat Jun 6 2020 07:10:46