Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Data Fields | Protected Member Functions | Protected Attributes
Form Class Reference
Inheritance diagram for Form:
Form Form

Data Fields

const XML_PATH_ENABLE_AUTOCOMPLETE = 'customer/password/autocomplete_on_storefront'
 

Protected Member Functions

 _getFormAttributeCollection ()
 
- Protected Member Functions inherited from Form
 _getFormAttributeCollection ()
 
 _getFilteredFormAttributeCollection ()
 
 _getAttributeDataModel (\Magento\Eav\Model\Entity\Attribute $attribute)
 
 _isAttributeOmitted ($attribute)
 

Protected Attributes

 $_moduleName = 'Magento_Customer'
 
 $_entityTypeCode = 'customer'
 
- Protected Attributes inherited from Form
 $_moduleName = ''
 
 $_entityTypeCode = ''
 
 $_store
 
 $_entityType
 
 $_entity
 
 $_formCode
 
 $_attributes
 
 $_systemAttributes
 
 $_userAttributes
 
 $_allowedAttributes = null
 
 $_isAjax = false
 
 $_ignoreInvisible = true
 
 $_validator = null
 
 $_storeManager
 
 $_eavConfig
 
 $_modulesReader
 
 $_attrDataFactory
 
 $_universalFactory
 
 $_httpRequest
 
 $_validatorConfigFactory
 

Additional Inherited Members

- Public Member Functions inherited from Form
 __construct (\Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Eav\Model\Config $eavConfig, \Magento\Framework\Module\Dir\Reader $modulesReader, \Magento\Eav\Model\AttributeDataFactory $attrDataFactory, \Magento\Framework\Validator\UniversalFactory $universalFactory, RequestInterface $httpRequest, \Magento\Framework\Validator\ConfigFactory $validatorConfigFactory)
 
 setStore ($store)
 
 setEntity (\Magento\Framework\Model\AbstractModel $entity)
 
 setEntityType ($entityType)
 
 setFormCode ($formCode)
 
 getStore ()
 
 getFormCode ()
 
 getEntityType ()
 
 getEntity ()
 
 getAttribute ($attributeCode)
 
 getUserAttributes ()
 
 getSystemAttributes ()
 
 getAllowedAttributes ()
 
 prepareRequest (array $data)
 
 validateData (array $data)
 
 setIsAjaxRequest ($flag=true)
 
 getIsAjaxRequest ()
 
 ignoreInvisible ($setValue=null)
 

Detailed Description

Definition at line 14 of file Form.php.

Member Function Documentation

◆ _getFormAttributeCollection()

_getFormAttributeCollection ( )
protected

Get EAV Entity Form Attribute Collection for Customer exclude 'created_at'

Returns
\Magento\Customer\Model\ResourceModel\Form\Attribute\Collection

Definition at line 41 of file Form.php.

42  {
43  return parent::_getFormAttributeCollection()->addFieldToFilter('attribute_code', ['neq' => 'created_at']);
44  }

Field Documentation

◆ $_entityTypeCode

$_entityTypeCode = 'customer'
protected

Definition at line 33 of file Form.php.

◆ $_moduleName

$_moduleName = 'Magento_Customer'
protected

Definition at line 26 of file Form.php.

◆ XML_PATH_ENABLE_AUTOCOMPLETE

const XML_PATH_ENABLE_AUTOCOMPLETE = 'customer/password/autocomplete_on_storefront'

XML configuration paths for "Disable autocomplete on storefront" property

Definition at line 19 of file Form.php.


The documentation for this class was generated from the following file: