| 1 | <?php |
||
| 20 | class HdomainCombo extends Combo |
||
| 21 | { |
||
| 22 | /** {@inheritdoc} */ |
||
| 23 | public $type = 'hosting/hdomain'; |
||
| 24 | |||
| 25 | /** {@inheritdoc} */ |
||
| 26 | public $name = 'login'; |
||
| 27 | |||
| 28 | /** {@inheritdoc} */ |
||
| 29 | public $url = '/hosting/hdomain/index'; |
||
| 30 | |||
| 31 | /** {@inheritdoc} */ |
||
| 32 | public $_return = ['id', 'server']; |
||
| 33 | |||
| 34 | /** {@inheritdoc} */ |
||
| 35 | public $_rename = ['text' => 'domain']; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var array used in [[getPluginOptions()]] |
||
| 39 | */ |
||
| 40 | public $activeWhen = ['hosting/vhost']; |
||
| 41 | |||
| 42 | /** {@inheritdoc} */ |
||
| 43 | public function getFilter() |
||
| 50 | |||
| 51 | /** {@inheritdoc} */ |
||
| 52 | public function getPluginOptions($options = []) |
||
| 67 | } |
||
| 68 |