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
Model
Data
ValidationRule.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\Model\Data
;
7
8
use
Magento\Customer\Api\Data\ValidationRuleInterface
;
9
10
class
ValidationRule
extends
\Magento\Framework\Api\AbstractSimpleObject
implements
11
\Magento\Customer\Api\Data\ValidationRuleInterface
12
{
16
public
function
getName
()
17
{
18
return
$this->
_get
(self::NAME);
19
}
20
24
public
function
getValue
()
25
{
26
return
$this->
_get
(self::VALUE);
27
}
28
35
public
function
setName
(
$name
)
36
{
37
return
$this->
setData
(self::NAME,
$name
);
38
}
39
46
public
function
setValue
(
$value
)
47
{
48
return
$this->
setData
(self::VALUE,
$value
);
49
}
50
}
Magento\Customer\Model\Data\ValidationRule\setValue
setValue($value)
Definition:
ValidationRule.php:46
Magento\Framework\Api\AbstractSimpleObject
Definition:
AbstractSimpleObject.php:12
Magento\Customer\Model\Data
Definition:
Address.php:8
$value
$value
Definition:
gender.phtml:16
Magento\Customer\Model\Data\ValidationRule\setName
setName($name)
Definition:
ValidationRule.php:35
Magento\Framework\Api\AbstractSimpleObject\_get
_get($key)
Definition:
AbstractSimpleObject.php:35
Magento\Customer\Model\Data\ValidationRule
Definition:
ValidationRule.php:10
Magento\Customer\Api\Data\ValidationRuleInterface
Definition:
ValidationRuleInterface.php:15
Magento\Customer\Model\Data\ValidationRule\getValue
getValue()
Definition:
ValidationRule.php:24
Magento\Framework\Api\AbstractSimpleObject\setData
setData($key, $value)
Definition:
AbstractSimpleObject.php:47
Magento\Customer\Model\Data\ValidationRule\getName
getName()
Definition:
ValidationRule.php:16
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14