public static function update_issues_table($data_array) { $o = new facility_issues(); $o->fromArray($data_array); $o->save(); return TRUE; }