Пример #1
0
 public function init()
 {
     $this->name = \skeeks\cms\shop\Module::t('app', 'List of taxes');
     $this->modelShowAttribute = "name";
     $this->modelClassName = ShopTax::className();
     parent::init();
 }
Пример #2
0
 public function init()
 {
     $this->name = \Yii::t('skeeks/shop/app', 'List of taxes');
     $this->modelShowAttribute = "name";
     $this->modelClassName = ShopTax::className();
     parent::init();
 }
Пример #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTax()
 {
     return $this->hasOne(ShopTax::className(), ['id' => 'tax_id']);
 }