Author: mcantelon
Date: Wed Jan 4 13:59:06 2012
New Revision: 10555
Log:
Added way to pass variables to closures in csv import class.
Modified:
trunk/lib/QubitFlatfileImport.class.php
Modified: trunk/lib/QubitFlatfileImport.class.php
==============================================================================
--- trunk/lib/QubitFlatfileImport.class.php Wed Jan 4 13:19:02 2012
(r10554)
+++ trunk/lib/QubitFlatfileImport.class.php Wed Jan 4 13:59:06 2012
(r10555)
@@ -64,6 +64,16 @@
$this->rowStatusVars = array();
}
+ public function setStatus($var, $value)
+ {
+ $this->status[$var] = $value;
+ }
+
+ public function getStatus($var)
+ {
+ return $this->status[$var];
+ }
+
public function addColumnHandler($column, $handler)
{
$this->handlers[$column] = $handler;
--
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.