function uif_normalize_header in User Import Framework 6
Same name and namespace in other branches
- 7 uif.admin.inc \uif_normalize_header()
Normalize the header columns.
1 call to uif_normalize_header()
- uif_validate_user_file in ./
uif.admin.inc - Read the user import file and validate on the way.
File
- ./
uif.admin.inc, line 272 - Simple, extensible user import from a CSV file.
Code
function uif_normalize_header($header) {
$normal_header = array();
foreach ($header as $column) {
$normal_header[] = strtolower($column);
}
return $normal_header;
}