Author: mcantelon
Date: Wed Feb 15 16:45:59 2012
New Revision: 10906
Log:
Made output of sample column values more readable.
Modified:
trunk/lib/task/import/csvCheckImportTask.class.php
Modified: trunk/lib/task/import/csvCheckImportTask.class.php
==============================================================================
--- trunk/lib/task/import/csvCheckImportTask.class.php Wed Feb 15 16:07:12
2012 (r10905)
+++ trunk/lib/task/import/csvCheckImportTask.class.php Wed Feb 15 16:45:59
2012 (r10906)
@@ -122,7 +122,20 @@
if ($self->status['numberOfSampleValues'] > 0)
{
- print_r($self->status['sampleColumnValues']);
+ print "\nSample Values:\n";
+ foreach($self->status['sampleColumnValues'] as $column => $values)
+ {
+ print ' '. $column .":\n";
+ if (count($values))
+ {
+ foreach($values as $value)
+ {
+ print ' '. $value ."\n";
+ }
+ } else {
+ print " [empty]\n";
+ }
+ }
}
print "\n";
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.