public function getComplainant() { $complainant = Complainant::find()->where(array('cnic' => $this->cnic))->one(); return $complainant; }