Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

DefaultModelNameIdMappingRuleForm Class Reference

Inheritance diagram for DefaultModelNameIdMappingRuleForm:
DefaultModelAttributeMappingRuleForm ModelAttributeMappingRuleForm MappingRuleForm ConfigurableMetadataModel

Public Member Functions

 __construct ($modelClassName, $modelAttributeName)
 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.

Definition at line 40 of file DefaultModelNameIdMappingRuleForm.php.


Constructor & Destructor Documentation

__construct ( modelClassName,
modelAttributeName 
)
Parameters:
string $modelClassName
string $modelAttributeName

Reimplemented from ModelAttributeMappingRuleForm.

Definition at line 62 of file DefaultModelNameIdMappingRuleForm.php.


Member Function Documentation

rules (  ) 

Override to add an extra rule for the defaultModelStringifiedName. This will ensure if there is an error the message shows up properly in the user interface, since otherwise with the rule being on the defaultModelId, it would not show up because it is a hidden input.

See also:
DefaultModelAttributeMappingRuleForm::rules()

Reimplemented from DefaultModelAttributeMappingRuleForm.

Definition at line 78 of file DefaultModelNameIdMappingRuleForm.php.

getId (  ) 

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

Definition at line 105 of file DefaultModelNameIdMappingRuleForm.php.

static getAttributeName (  )  [static]

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

Reimplemented from MappingRuleForm.

Definition at line 116 of file DefaultModelNameIdMappingRuleForm.php.

getDefaultModelName (  ) 

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

Definition at line 124 of file DefaultModelNameIdMappingRuleForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 16 07:10:23 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8