Author: mcantelon
Date: Fri Dec 30 13:58:37 2011
New Revision: 10490

Log:
Fixed a few coding style issues.

Modified:
   trunk/lib/task/csvImportTask.class.php

Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php      Fri Dec 30 13:50:07 2011        
(r10489)
+++ trunk/lib/task/csvImportTask.class.php      Fri Dec 30 13:58:37 2011        
(r10490)
@@ -127,19 +127,22 @@
         'radNoteConservation' => array('typeId' => 231),
         'OLD PHOTO NO' => array(
           'typeId' => 247,
-          'transformationLogic' => function(&$self, $text) {
+          'transformationLogic' => function(&$self, $text)
+          {
              return 'Old Photo Number: '. $text;
           }
         )
       ),
-      'rowInit' => function(&$self) {
+      'rowInit' => function(&$self)
+      {
         $self->informationObject = new QubitInformationObject;
       },
       'rowStatusVars' => array(
         'startYear',
         'endYear'
       ),
-      'rowComplete' => function(&$self) {
+      'rowComplete' => function(&$self)
+      {
         // set to default status
         $self->informationObject->setStatus(array(
           'statusId' => $self->defaultStatusId,
@@ -200,7 +203,8 @@
 
     $import->addColumnHandler('accessionNumber', function(&$self, $data)
     {
-      if ($data) {
+      if ($data)
+      {
         $self->rowStatusVars['accessionNumbers'] = explode('|', $data);
       }
     });
@@ -420,7 +424,8 @@
     $note = new QubitNote;
     $note->objectId = $this->informationObject->id;
     $note->typeId = $typeId;
-    if ($transformationLogic) {
+    if ($transformationLogic)
+    {
       $text = $transformationLogic(&$this, $text);
     }
     $note->content = $text;

-- 
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.

Reply via email to