function csv_to_array
Search API
7.x misc.inc | csv_to_array($csv_string) |
6.x misc.inc | csv_to_array($csv_string) |
4.x misc.inc | csv_to_array($csv_string) |
5.x misc.inc | csv_to_array($csv_string) |
Simple function to split a basic CSV string, trim all elements, then return the resulting array.
38 calls to csv_to_array()
- admin_display_degrees_popup_add_group2 in modules/
admin/ admin.degrees.inc - admin_edit_degree_form_submit in modules/
admin/ admin.degrees.inc - admin_edit_degree_form_validate in modules/
admin/ admin.degrees.inc - advise_display_popup_change_track in modules/
advise/ advise.module - advise_display_view in modules/
advise/ advise.module - This is the page which actually displays the "view" for the user to see their advising session, or for an advisor to advise them.
File
- includes/
misc.inc, line 1722 - This file contains misc functions for FlightPath
Code
function csv_to_array($csv_string) {
$temp = explode(",", $csv_string);
$temp = array_map("trim", $temp);
return $temp;
}