255], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'title' => 'Название', ]; } /** * @return \yii\db\ActiveQuery */ public function getProjectMarks() { return $this->hasMany(ProjectMark::className(), ['mark_id' => 'id']); } }