Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Protected Member Functions | |
_initAdditionalInformation () | |
![]() | |
filterCustomAttributes ($data) | |
initializeCustomAttributes () | |
convertCustomAttributeValues (array &$customAttributes) | |
getCustomAttributesCodes () | |
_setExtensionAttributes (\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes) | |
_getExtensionAttributes () | |
![]() | |
_construct () | |
_init ($resourceModel) | |
_setResourceModel ($resourceName, $collectionName=null) | |
_getResource () | |
_getEventData () | |
_beforeLoad ($modelId, $field=null) | |
_afterLoad () | |
_hasModelChanged () | |
_getValidatorBeforeSave () | |
_createValidatorBeforeSave () | |
_getValidationRulesBeforeSave () | |
_clearReferences () | |
_clearData () | |
![]() | |
_getData ($key) | |
_underscore ($name) | |
Protected Attributes | |
$_additionalInformation = [] | |
$_paymentData | |
$_encryptor | |
![]() | |
$extensionAttributesFactory | |
$extensionAttributes | |
$customAttributeFactory | |
$customAttributesCodes = null | |
$customAttributesChanged = false | |
![]() | |
$_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 | CUSTOM_ATTRIBUTES = 'custom_attributes' |
![]() | |
const | EXTENSION_ATTRIBUTES_KEY = 'extension_attributes' |
![]() | |
static | $_underscoreCache = [] |
__construct | ( | \Magento\Framework\Model\Context | $context, |
\Magento\Framework\Registry | $registry, | ||
\Magento\Framework\Api\ExtensionAttributesFactory | $extensionFactory, | ||
\Magento\Framework\Api\AttributeValueFactory | $customAttributeFactory, | ||
\Magento\Payment\Helper\Data | $paymentData, | ||
\Magento\Framework\Encryption\EncryptorInterface | $encryptor, | ||
\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 | |
\Magento\Framework\Api\ExtensionAttributesFactory | $extensionFactory | |
\Magento\Framework\Api\AttributeValueFactory | $customAttributeFactory |
Definition at line 48 of file Info.php.
|
protected |
decrypt | ( | $data | ) |
Decrypt data
string | $data |
Implements InfoInterface.
Definition at line 139 of file Info.php.
encrypt | ( | $data | ) |
Encrypt data
string | $data |
Implements InfoInterface.
Definition at line 128 of file Info.php.
getAdditionalInformation | ( | $key = null | ) |
Getter for entire additional_information value or one of its element by key
string | $key |
Implements InfoInterface.
Definition at line 174 of file Info.php.
getData | ( | $key = '' , |
|
$index = null |
|||
) |
getMethodInstance | ( | ) |
Retrieve payment method model object
Implements InfoInterface.
Definition at line 100 of file Info.php.
hasAdditionalInformation | ( | $key = null | ) |
Check whether there is additional information by specified key
mixed | null | $key |
Implements InfoInterface.
Definition at line 208 of file Info.php.
setAdditionalInformation | ( | $key, | |
$value = null |
|||
) |
Additional information setter Updates data inside the 'additional_information' array or all 'additional_information' if key is data array
string | array | $key | |
mixed | $value |
Implements InfoInterface.
Definition at line 154 of file Info.php.
unsAdditionalInformation | ( | $key = null | ) |
Unsetter for entire additional_information value or one of its element by key
string | $key |
Implements InfoInterface.
Definition at line 189 of file Info.php.