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 |
|
|
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 |