Ejemplo n.º 1
0
 public function actionGetedulevel()
 {
     $Edulevel = new EducationLevel();
     $Edulevel = EducationLevel::find()->all();
     return $Edulevel;
 }
Ejemplo n.º 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEl()
 {
     return $this->hasOne(EducationLevel::className(), ['el_id' => 'el_id']);
 }
Ejemplo n.º 3
0
 public function actionPopulateeducationinputs()
 {
     $result = array();
     $result['institutions'] = Institution::find()->all();
     $result['education_levels'] = EducationLevel::find()->all();
     $result['courses'] = Course::findUniCourse();
     $result['universities'] = University::find()->all();
     return $result;
 }