@@ 18-33 (lines=16) @@ | ||
15 | /** |
|
16 | * Class BackIpCombo. |
|
17 | */ |
|
18 | class BackIpCombo extends HdomainIpCombo |
|
19 | { |
|
20 | /** {@inheritdoc} */ |
|
21 | public $type = 'hosting/hdomain-backend-ip'; |
|
22 | ||
23 | /** {@inheritdoc} */ |
|
24 | public $name = 'hdomain-backend-ip'; |
|
25 | ||
26 | /** {@inheritdoc} */ |
|
27 | public function getFilter() |
|
28 | { |
|
29 | return ArrayHelper::merge(parent::getFilter(), [ |
|
30 | 'soft_in' => ['format' => ['apache', 'apache2']], |
|
31 | ]); |
|
32 | } |
|
33 | } |
|
34 |
@@ 18-33 (lines=16) @@ | ||
15 | /** |
|
16 | * Class FrontIpCombo. |
|
17 | */ |
|
18 | class FrontIpCombo extends HdomainIpCombo |
|
19 | { |
|
20 | /** {@inheritdoc} */ |
|
21 | public $type = 'hosting/hdomain-frontend-ip'; |
|
22 | ||
23 | /** {@inheritdoc} */ |
|
24 | public $name = 'hdomain-frontend-ip'; |
|
25 | ||
26 | /** {@inheritdoc} */ |
|
27 | public function getFilter() |
|
28 | { |
|
29 | return ArrayHelper::merge(parent::getFilter(), [ |
|
30 | 'soft_in' => ['format' => ['nginx']], |
|
31 | ]); |
|
32 | } |
|
33 | } |
|
34 |