Esempio n. 1
0
 public function init()
 {
     $this->name = \skeeks\cms\shop\Module::t('app', 'VAT_rates');
     $this->modelShowAttribute = "name";
     $this->modelClassName = ShopVat::className();
     parent::init();
 }
Esempio n. 2
0
 public function init()
 {
     $this->name = \Yii::t('skeeks/shop/app', 'VAT rates');
     $this->modelShowAttribute = "name";
     $this->modelClassName = ShopVat::className();
     parent::init();
 }
Esempio n. 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getVat()
 {
     return $this->hasOne(ShopVat::className(), ['id' => 'vat_id']);
 }