public function task($id) { $out = Tasks::get_one($id); return json_encode($out); //View::make('index')->with('out', $out) ; }