Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ValidationRule.php
Go to the documentation of this file.
1 <?php
7 
9 
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 }
$value
Definition: gender.phtml:16
if(!isset($_GET['name'])) $name
Definition: log.php:14