yii\sphinx\ActiveQuery::populate PHP Метод

populate() публичный Метод

public populate ( $rows )
    public function populate($rows)
    {
        if (empty($rows)) {
            return [];
        }
        $models = $this->createModels($rows);
        if (!empty($this->with)) {
            $this->findWith($this->with, $models);
        }
        $models = $this->fillUpSnippets($models);
        if (!$this->asArray) {
            foreach ($models as $model) {
                $model->afterFind();
            }
        }
        return $models;
    }