Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
Api
Data
AttributeMetadataInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Api\Data
;
8
14
interface
AttributeMetadataInterface
extends
\Magento\Framework\Api\MetadataObjectInterface
15
{
19
const
ATTRIBUTE_CODE
=
'attribute_code'
;
20
const
FRONTEND_INPUT
=
'frontend_input'
;
21
const
INPUT_FILTER
=
'input_filter'
;
22
const
STORE_LABEL
=
'store_label'
;
23
const
VALIDATION_RULES
=
'validation_rules'
;
24
const
OPTIONS
=
'options'
;
25
const
VISIBLE
=
'visible'
;
26
const
REQUIRED
=
'required'
;
27
const
MULTILINE_COUNT
=
'multiline_count'
;
28
const
DATA_MODEL
=
'data_model'
;
29
const
USER_DEFINED
=
'user_defined'
;
30
const
FRONTEND_CLASS
=
'frontend_class'
;
31
const
SORT_ORDER
=
'sort_order'
;
32
const
FRONTEND_LABEL
=
'frontend_label'
;
33
const
SYSTEM
=
'system'
;
34
const
NOTE
=
'note'
;
35
const
BACKEND_TYPE
=
'backend_type'
;
36
const
IS_USED_IN_GRID
=
'is_used_in_grid'
;
37
const
IS_VISIBLE_IN_GRID
=
'is_visible_in_grid'
;
38
const
IS_FILTERABLE_IN_GRID
=
'is_filterable_in_grid'
;
39
const
IS_SEARCHABLE_IN_GRID
=
'is_searchable_in_grid'
;
47
public
function
getFrontendInput
();
48
55
public
function
setFrontendInput
($frontendInput);
56
62
public
function
getInputFilter
();
63
70
public
function
setInputFilter
($inputFilter);
71
77
public
function
getStoreLabel
();
78
85
public
function
setStoreLabel
($storeLabel);
86
92
public
function
getValidationRules
();
93
100
public
function
setValidationRules
(array $validationRules);
101
107
public
function
getMultilineCount
();
108
115
public
function
setMultilineCount
($multilineCount);
116
122
public
function
isVisible
();
123
130
public
function
setIsVisible
($isVisible);
131
137
public
function
isRequired
();
138
145
public
function
setIsRequired
($isRequired);
146
152
public
function
getDataModel
();
153
160
public
function
setDataModel
($dataModel);
161
167
public
function
getOptions
();
168
175
public
function
setOptions
(array
$options
=
null
);
176
182
public
function
getFrontendClass
();
183
190
public
function
setFrontendClass
($frontendClass);
191
197
public
function
isUserDefined
();
198
205
public
function
setIsUserDefined
($isUserDefined);
206
212
public
function
getSortOrder
();
213
220
public
function
setSortOrder
($sortOrder);
221
227
public
function
getFrontendLabel
();
228
235
public
function
setFrontendLabel
($frontendLabel);
236
242
public
function
getNote
();
243
250
public
function
setNote
(
$note
);
251
257
public
function
isSystem
();
258
265
public
function
setIsSystem
($isSystem);
266
272
public
function
getBackendType
();
273
280
public
function
setBackendType
($backendType);
281
287
public
function
getIsUsedInGrid
();
288
294
public
function
getIsVisibleInGrid
();
295
301
public
function
getIsFilterableInGrid
();
302
308
public
function
getIsSearchableInGrid
();
309
316
public
function
setIsUsedInGrid
($isUsedInGrid);
317
324
public
function
setIsVisibleInGrid
($isVisibleInGrid);
325
332
public
function
setIsFilterableInGrid
($isFilterableInGrid);
333
340
public
function
setIsSearchableInGrid
($isSearchableInGrid);
341
}
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsSearchableInGrid
setIsSearchableInGrid($isSearchableInGrid)
Magento\Customer\Api\Data\AttributeMetadataInterface\BACKEND_TYPE
const BACKEND_TYPE
Definition:
AttributeMetadataInterface.php:35
Magento\Customer\Api\Data\AttributeMetadataInterface\DATA_MODEL
const DATA_MODEL
Definition:
AttributeMetadataInterface.php:28
Magento\Customer\Api\Data\AttributeMetadataInterface\getIsSearchableInGrid
getIsSearchableInGrid()
Magento\Customer\Api\Data\AttributeMetadataInterface\setStoreLabel
setStoreLabel($storeLabel)
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsUsedInGrid
setIsUsedInGrid($isUsedInGrid)
Magento\Customer\Api\Data\AttributeMetadataInterface\setDataModel
setDataModel($dataModel)
Magento\Customer\Api\Data\AttributeMetadataInterface
Definition:
AttributeMetadataInterface.php:14
Magento\Customer\Api\Data\AttributeMetadataInterface\getNote
getNote()
Magento\Customer\Api\Data\AttributeMetadataInterface\getStoreLabel
getStoreLabel()
Magento\Customer\Api\Data\AttributeMetadataInterface\getValidationRules
getValidationRules()
Magento\Customer\Api\Data\AttributeMetadataInterface\setFrontendInput
setFrontendInput($frontendInput)
Magento\Customer\Api\Data\AttributeMetadataInterface\getOptions
getOptions()
Magento\Customer\Api\Data\AttributeMetadataInterface\MULTILINE_COUNT
const MULTILINE_COUNT
Definition:
AttributeMetadataInterface.php:27
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsUserDefined
setIsUserDefined($isUserDefined)
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsFilterableInGrid
setIsFilterableInGrid($isFilterableInGrid)
Magento\Customer\Api\Data\AttributeMetadataInterface\getFrontendInput
getFrontendInput()
Magento\Customer\Api\Data\AttributeMetadataInterface\isSystem
isSystem()
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsVisible
setIsVisible($isVisible)
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsVisibleInGrid
setIsVisibleInGrid($isVisibleInGrid)
Magento\Customer\Api\Data\AttributeMetadataInterface\NOTE
const NOTE
Definition:
AttributeMetadataInterface.php:34
Magento\Customer\Api\Data\AttributeMetadataInterface\getMultilineCount
getMultilineCount()
Magento\Customer\Api\Data\AttributeMetadataInterface\getInputFilter
getInputFilter()
Magento\Customer\Api\Data\AttributeMetadataInterface\OPTIONS
const OPTIONS
Definition:
AttributeMetadataInterface.php:24
Magento\Customer\Api\Data\AttributeMetadataInterface\IS_VISIBLE_IN_GRID
const IS_VISIBLE_IN_GRID
Definition:
AttributeMetadataInterface.php:37
Magento\Customer\Api\Data
Definition:
AddressInterface.php:8
Magento\Customer\Api\Data\AttributeMetadataInterface\INPUT_FILTER
const INPUT_FILTER
Definition:
AttributeMetadataInterface.php:21
Magento\Customer\Api\Data\AttributeMetadataInterface\setBackendType
setBackendType($backendType)
Magento\Customer\Api\Data\AttributeMetadataInterface\FRONTEND_INPUT
const FRONTEND_INPUT
Definition:
AttributeMetadataInterface.php:20
Magento\Customer\Api\Data\AttributeMetadataInterface\getBackendType
getBackendType()
Magento\Framework\Api\MetadataObjectInterface
Definition:
MetadataObjectInterface.php:15
Magento\Customer\Api\Data\AttributeMetadataInterface\SYSTEM
const SYSTEM
Definition:
AttributeMetadataInterface.php:33
Magento\Customer\Api\Data\AttributeMetadataInterface\getSortOrder
getSortOrder()
Magento\Customer\Api\Data\AttributeMetadataInterface\USER_DEFINED
const USER_DEFINED
Definition:
AttributeMetadataInterface.php:29
Magento\Customer\Api\Data\AttributeMetadataInterface\getIsUsedInGrid
getIsUsedInGrid()
Magento\Customer\Api\Data\AttributeMetadataInterface\setFrontendClass
setFrontendClass($frontendClass)
Magento\Customer\Api\Data\AttributeMetadataInterface\FRONTEND_LABEL
const FRONTEND_LABEL
Definition:
AttributeMetadataInterface.php:32
Magento\Customer\Api\Data\AttributeMetadataInterface\REQUIRED
const REQUIRED
Definition:
AttributeMetadataInterface.php:26
Magento\Customer\Api\Data\AttributeMetadataInterface\VALIDATION_RULES
const VALIDATION_RULES
Definition:
AttributeMetadataInterface.php:23
Magento\Customer\Api\Data\AttributeMetadataInterface\ATTRIBUTE_CODE
const ATTRIBUTE_CODE
Definition:
AttributeMetadataInterface.php:19
Magento\Customer\Api\Data\AttributeMetadataInterface\setOptions
setOptions(array $options=null)
Magento\Customer\Api\Data\AttributeMetadataInterface\STORE_LABEL
const STORE_LABEL
Definition:
AttributeMetadataInterface.php:22
Magento\Customer\Api\Data\AttributeMetadataInterface\VISIBLE
const VISIBLE
Definition:
AttributeMetadataInterface.php:25
Magento\Customer\Api\Data\AttributeMetadataInterface\getIsFilterableInGrid
getIsFilterableInGrid()
Magento\Customer\Api\Data\AttributeMetadataInterface\setNote
setNote($note)
Magento\Customer\Api\Data\AttributeMetadataInterface\isRequired
isRequired()
Magento\Customer\Api\Data\AttributeMetadataInterface\isUserDefined
isUserDefined()
Magento\Customer\Api\Data\AttributeMetadataInterface\SORT_ORDER
const SORT_ORDER
Definition:
AttributeMetadataInterface.php:31
Magento\Customer\Api\Data\AttributeMetadataInterface\getDataModel
getDataModel()
Magento\Customer\Api\Data\AttributeMetadataInterface\setFrontendLabel
setFrontendLabel($frontendLabel)
Magento\Customer\Api\Data\AttributeMetadataInterface\setValidationRules
setValidationRules(array $validationRules)
Magento\Customer\Api\Data\AttributeMetadataInterface\IS_FILTERABLE_IN_GRID
const IS_FILTERABLE_IN_GRID
Definition:
AttributeMetadataInterface.php:38
Magento\Customer\Api\Data\AttributeMetadataInterface\FRONTEND_CLASS
const FRONTEND_CLASS
Definition:
AttributeMetadataInterface.php:30
Magento\Customer\Api\Data\AttributeMetadataInterface\setInputFilter
setInputFilter($inputFilter)
Magento\Customer\Api\Data\AttributeMetadataInterface\getFrontendLabel
getFrontendLabel()
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsRequired
setIsRequired($isRequired)
Magento\Customer\Api\Data\AttributeMetadataInterface\getFrontendClass
getFrontendClass()
Magento\Customer\Api\Data\AttributeMetadataInterface\setMultilineCount
setMultilineCount($multilineCount)
Magento\Customer\Api\Data\AttributeMetadataInterface\setSortOrder
setSortOrder($sortOrder)
$note
$note
Definition:
element.phtml:13
Magento\Customer\Api\Data\AttributeMetadataInterface\IS_SEARCHABLE_IN_GRID
const IS_SEARCHABLE_IN_GRID
Definition:
AttributeMetadataInterface.php:39
Magento\Customer\Api\Data\AttributeMetadataInterface\getIsVisibleInGrid
getIsVisibleInGrid()
Magento\Customer\Api\Data\AttributeMetadataInterface\isVisible
isVisible()
$options
$options
Definition:
multiple_mixed_products.php:29
Magento\Customer\Api\Data\AttributeMetadataInterface\IS_USED_IN_GRID
const IS_USED_IN_GRID
Definition:
AttributeMetadataInterface.php:36
Magento\Customer\Api\Data\AttributeMetadataInterface\setIsSystem
setIsSystem($isSystem)