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