public function getQuestion() { return $this->hasOne(Questions::classname(), ['questionid' => 'questionid']); }
public function getQuestions() { $questions = $this->hasMany(Questions::classname(), ['labelid' => 'labelid'])->asArray(); return $questions; }