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