Class Mage_Adminhtml_Block_Widget_Form_Element_Dependence
Form element dependencies mapper Assumes that one element may depend on other element values. Will toggle as "enabled" only if all elements it depends from toggle as true.
- Varien_Object
-
Mage_Core_Block_Abstract
-
Mage_Core_Block_Template
-
Mage_Adminhtml_Block_Abstract
-
Mage_Adminhtml_Block_Widget_Form_Element_Dependence
Package: Mage\Adminhtml
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Adminhtml/Block/Widget/Form/Element/Dependence.php
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Adminhtml/Block/Widget/Form/Element/Dependence.php
public
|
|
public
|
#
addFieldDependence( string $fieldName, string $fieldNameFrom, string|array $refValues )
Register field name dependence one from each other by specified values |
public
|
#
addConfigOptions( array $options )
Add misc configuration options to the javascript dependencies controller |
protected
string
|
|
protected
string
|
_getUrlModelClass()
|
XML_PATH_DEBUG_TEMPLATE_HINTS,
XML_PATH_DEBUG_TEMPLATE_HINTS_BLOCKS,
XML_PATH_TEMPLATE_ALLOW_SYMLINK
|
CACHE_GROUP
|
protected
array
|
$_fields | array() |
#
name => id mapper |
protected
array
|
$_depends | array() |
#
Dependencies mapper (by names) array( |
protected
array
|
$_configOptions | array() |
#
Additional configuration options for the dependencies javascript controller |
$_allowSymlinks,
$_baseUrl,
$_jsUrl,
$_showTemplateHints,
$_showTemplateHintsBlocks,
$_template,
$_viewDir,
$_viewVars
|