Ejemplo n.º 1
0
 public function searchSubject()
 {
     $subjects = Subject::All('catalog_no')->toArray();
     $list = array();
     foreach ($subjects as $subject) {
         array_push($list, $subject['catalog_no']);
     }
     return $list;
 }