src/forms/CertificateTariffForm.php 1 location
|
@@ 31-39 (lines=9) @@
|
28 |
|
parent::__construct($config); |
29 |
|
} |
30 |
|
|
31 |
|
public function load($data, $formName = null) |
32 |
|
{ |
33 |
|
$this->setAttributes($data[$this->formName()]); |
34 |
|
$this->setResources($data[(new CertificateResource())->formName()]); |
35 |
|
|
36 |
|
$this->initTariff(); |
37 |
|
|
38 |
|
return true; |
39 |
|
} |
40 |
|
|
41 |
|
/** |
42 |
|
* @return array |
src/forms/DomainTariffForm.php 1 location
|
@@ 28-36 (lines=9) @@
|
25 |
|
*/ |
26 |
|
protected $zones; |
27 |
|
|
28 |
|
public function load($data, $formName = null) |
29 |
|
{ |
30 |
|
$this->setAttributes($data[$this->formName()]); |
31 |
|
$this->setResources($data[(new DomainResource())->formName()]); |
32 |
|
|
33 |
|
$this->initTariff(); |
34 |
|
|
35 |
|
return true; |
36 |
|
} |
37 |
|
|
38 |
|
/** |
39 |
|
* @return DomainService[] |