Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Protected Attributes | |
$_eventPrefix = 'config_data' | |
$_eventObject = 'config_data' | |
$_config | |
$cacheTypeList | |
![]() | |
$_eventPrefix = 'core_abstract' | |
$_eventObject = 'object' | |
$_idFieldName = 'id' | |
$_hasDataChanges = false | |
$_origData | |
$_isDeleted = false | |
$_resource | |
$_resourceCollection | |
$_resourceName | |
$_collectionName | |
$_cacheTag = false | |
$_dataSaveAllowed = true | |
$_isObjectNew = null | |
$_validatorBeforeSave = null | |
$_eventManager | |
$_cacheManager | |
$_registry | |
$_logger | |
$_appState | |
$_actionValidator | |
$storedData = [] | |
![]() | |
$_data = [] | |
Additional Inherited Members | |
![]() | |
const | ENTITY = 'config_data' |
![]() | |
_construct () | |
_init ($resourceModel) | |
_setResourceModel ($resourceName, $collectionName=null) | |
_getResource () | |
_getEventData () | |
_beforeLoad ($modelId, $field=null) | |
_afterLoad () | |
_hasModelChanged () | |
_getValidatorBeforeSave () | |
_createValidatorBeforeSave () | |
_getValidationRulesBeforeSave () | |
_clearReferences () | |
_clearData () | |
![]() | |
_getData ($key) | |
_underscore ($name) | |
![]() | |
static | $_underscoreCache = [] |
Config data model
This model is temporarily marked as API since {
@method string getScope() @method \Magento\Framework\App\Config\ValueInterface setScope(string $value) @method int getScopeId() @method \Magento\Framework\App\Config\ValueInterface setScopeId(int $value) @method string getPath() @method \Magento\Framework\App\Config\ValueInterface setPath(string $value) @method string getValue() @method \Magento\Framework\App\Config\ValueInterface setValue(string $value)
@api
@SuppressWarnings(PHPMD.NumberOfChildren)
__construct | ( | \Magento\Framework\Model\Context | $context, |
\Magento\Framework\Registry | $registry, | ||
\Magento\Framework\App\Config\ScopeConfigInterface | $config, | ||
\Magento\Framework\App\Cache\TypeListInterface | $cacheTypeList, | ||
\Magento\Framework\Model\ResourceModel\AbstractResource | $resource = null , |
||
\Magento\Framework\Data\Collection\AbstractDb | $resourceCollection = null , |
||
array | $data = [] |
||
) |
\Magento\Framework\Model\Context | $context | |
\Magento\Framework\Registry | $registry | |
ScopeConfigInterface | $config | |
\Magento\Framework\App\Cache\TypeListInterface | $cacheTypeList | |
\Magento\Framework\Model\ResourceModel\AbstractResource | null | $resource | |
\Magento\Framework\Data\Collection\AbstractDb | null | $resourceCollection | |
array | $data |
Definition at line 65 of file Value.php.
afterDelete | ( | ) |
afterSave | ( | ) |
getFieldsetDataValue | ( | $key | ) |
Get value by key for new user data from <section>/groups/<group>/fields/<field>
string | $key |
Implements ValueInterface.
Definition at line 109 of file Value.php.
getOldValue | ( | ) |
Get old value from existing config
Implements ValueInterface.
Definition at line 94 of file Value.php.
isValueChanged | ( | ) |
Check if config data value was changed
Implements ValueInterface.
Definition at line 84 of file Value.php.