Inheritance: extends skeeks\cms\relatedProperties\models\RelatedPropertyEnumModel
 public function init()
 {
     $this->name = "Управление значениями свойств пользователя";
     $this->modelShowAttribute = "value";
     $this->modelClassName = CmsUserUniversalPropertyEnum::className();
     parent::init();
 }
示例#2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEnums()
 {
     return $this->hasMany(CmsUserUniversalPropertyEnum::className(), ['property_id' => 'id']);
 }