function doSearch($keyword) { $results = SearchResult::search($keyword); $return = array('results' => $results); return $return; }