function uif_row_has_data in User Import Framework 6
Same name and namespace in other branches
- 7 uif.admin.inc \uif_row_has_data()
Is there data in the row?
1 call to uif_row_has_data()
- uif_validate_user_file in ./
uif.admin.inc - Read the user import file and validate on the way.
File
- ./
uif.admin.inc, line 257 - Simple, extensible user import from a CSV file.
Code
function uif_row_has_data($row) {
if (isset($row) && is_array($row)) {
foreach ($row as $value) {
$value = trim($value);
if (!empty($value)) {
return TRUE;
}
}
}
return FALSE;
}