ArrayHelper::map(\backend\models\JudgeComitet::find()->activeJudgeComitet()->all(), 'id', 'id')
public function activeJudgeComitet()
{
$judgeComitet = new JudgeComitet;
return $this->joinWith('judgeComitet')->andWhere(['date_from'=> $judgeComitet->getDateTo()]);
}