Author: mcantelon
Date: Thu Feb 16 15:13:22 2012
New Revision: 10925
Log:
Added QubitFlatfile method to get/set internal representation of row column
values.
Modified:
trunk/lib/QubitFlatfileImport.class.php
Modified: trunk/lib/QubitFlatfileImport.class.php
==============================================================================
--- trunk/lib/QubitFlatfileImport.class.php Thu Feb 16 14:55:30 2012
(r10924)
+++ trunk/lib/QubitFlatfileImport.class.php Thu Feb 16 15:13:22 2012
(r10925)
@@ -209,6 +209,21 @@
}
/**
+ * Get/set values in internal representation of current row
+ */
+ function columnValue($column, $value = FALSE)
+ {
+ $columnIndex = array_search($column, $this->columnNames);
+
+ if ($value)
+ {
+ $this->status['row'][$columnIndex] = $value;
+ } else {
+ return $this->status['row'][$columnIndex];
+ }
+ }
+
+ /**
* Get status variable value
*
* @param string $var name of variable
--
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.