src/models/DomainServicePrice.php 1 location
|
@@ 37-43 (lines=7) @@
|
| 34 |
|
/** |
| 35 |
|
* @return array available operations |
| 36 |
|
*/ |
| 37 |
|
public static function getOperations(): array |
| 38 |
|
{ |
| 39 |
|
return [ |
| 40 |
|
static::SERVICE_OPERATION_PURCHASE => Yii::t('hipanel:finance:tariff', 'Purchase'), |
| 41 |
|
static::SERVICE_OPERATION_RENEW => Yii::t('hipanel:finance:tariff', 'Renewal'), |
| 42 |
|
]; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
/** |
| 46 |
|
* @return string |
src/models/DomainService.php 1 location
|
@@ 82-88 (lines=7) @@
|
| 79 |
|
/** |
| 80 |
|
* @return array available operations |
| 81 |
|
*/ |
| 82 |
|
public static function getOperations() |
| 83 |
|
{ |
| 84 |
|
return [ |
| 85 |
|
static::SERVICE_OPERATION_PURCHASE => Yii::t('hipanel:finance:tariff', 'Purchase'), |
| 86 |
|
static::SERVICE_OPERATION_RENEW => Yii::t('hipanel:finance:tariff', 'Renewal'), |
| 87 |
|
]; |
| 88 |
|
} |
| 89 |
|
|
| 90 |
|
/** |
| 91 |
|
* @return bool whether service contains all necessary resources |
src/models/CertificateResource.php 1 location
|
@@ 137-143 (lines=7) @@
|
| 134 |
|
/** |
| 135 |
|
* @return array |
| 136 |
|
*/ |
| 137 |
|
public function getTypes() |
| 138 |
|
{ |
| 139 |
|
return [ |
| 140 |
|
static::TYPE_CERT_PURCHASE => Yii::t('hipanel:finance:tariff', 'Purchase'), |
| 141 |
|
static::TYPE_CERT_RENEWAL => Yii::t('hipanel:finance:tariff', 'Renewal'), |
| 142 |
|
]; |
| 143 |
|
} |
| 144 |
|
} |
| 145 |
|
|