public function init()
 {
     $this->name = \Yii::t('skeeks/shop/app', 'Delivery services');
     $this->modelShowAttribute = "name";
     $this->modelClassName = ShopDelivery::className();
     parent::init();
 }
Ejemplo n.º 2
0
 public function init()
 {
     $this->name = \skeeks\cms\shop\Module::t('app', 'Delivery services');
     $this->modelShowAttribute = "name";
     $this->modelClassName = ShopDelivery::className();
     parent::init();
 }
Ejemplo n.º 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getDelivery()
 {
     return $this->hasOne(ShopDelivery::className(), ['id' => 'delivery_id']);
 }