public function init() { $this->name = \skeeks\cms\shop\Module::t('app', 'Control of property values payer'); $this->modelShowAttribute = "value"; $this->modelClassName = ShopPersonTypePropertyEnum::className(); parent::init(); }
/** * @return \yii\db\ActiveQuery */ public function getShopPersonTypePropertyEnums() { return $this->hasMany(ShopPersonTypePropertyEnum::className(), ['property_id' => 'id']); }