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

ImportMappingRuleDefaultModelNameIdElement Class Reference

Inheritance diagram for ImportMappingRuleDefaultModelNameIdElement:
NameIdElement ModelElement DerivedElementInterface Element ElementActionTypeInterface ImportMappingRuleRoleModelNameIdElement

Public Member Functions

 __construct ($model, $attribute, $form=null, array $params=array())

Static Public Member Functions

static getModuleId ()
static getModelAttributeNames ()

Protected Member Functions

 resolveModuleId ()
 getModalTitleForSelectingModel ()

Protected Attributes

 $idAttributeId = 'defaultModelId'
 $nameAttributeName = 'defaultModelStringifiedName'

Detailed Description

Element used in the import mapping process. This is used specifically for relation attributes where a model modal popup/auto-complete input are needed. Unlike other overrides of NameIdElement, this class is not tied to a specific model and can be used with any model class.

Definition at line 42 of file ImportMappingRuleDefaultModelNameIdElement.php.


Constructor & Destructor Documentation

__construct ( model,
attribute,
form = null,
array $  params = array() 
)

Override to ensure the model is the correct type of model. Also nullifying the attribute since it will not be used by this element. Setting the null to a string version of 'null' which is how the view metadata normally sends this value in.

Reimplemented from Element.

Definition at line 53 of file ImportMappingRuleDefaultModelNameIdElement.php.


Member Function Documentation

resolveModuleId (  )  [protected]

Override to get the correct module Id. In the typical use of NameIdElement, the module id is statically defined on the overrides, but since this element is used in a dynamic way and not attached to any particular model, this override is necessary.

See also:
ModelElement::resolveModuleId()

Reimplemented from ModelElement.

Reimplemented in ImportMappingRuleRoleModelNameIdElement.

Definition at line 66 of file ImportMappingRuleDefaultModelNameIdElement.php.

static getModelAttributeNames (  )  [static]

Get the attributeNames of attributes used in the derived element.

Returns:
array of model attributeNames used.

Reimplemented from NameIdElement.

Definition at line 84 of file ImportMappingRuleDefaultModelNameIdElement.php.


Field Documentation

$idAttributeId = 'defaultModelId' [protected]

Model or form's attributeName for the model 'id'

Reimplemented from ModelElement.

Definition at line 44 of file ImportMappingRuleDefaultModelNameIdElement.php.

$nameAttributeName = 'defaultModelStringifiedName' [protected]

Model or form's attributeName for the model 'name'

Reimplemented from NameIdElement.

Definition at line 46 of file ImportMappingRuleDefaultModelNameIdElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 22 07:10:57 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