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