Author: mcantelon
Date: Wed Jan 11 14:54:18 2012
New Revision: 10646
Log:
Documented function.
Modified:
trunk/lib/QubitFlatfileImport.class.php
Modified: trunk/lib/QubitFlatfileImport.class.php
==============================================================================
--- trunk/lib/QubitFlatfileImport.class.php Wed Jan 11 14:07:26 2012
(r10645)
+++ trunk/lib/QubitFlatfileImport.class.php Wed Jan 11 14:54:18 2012
(r10646)
@@ -640,6 +640,15 @@
return $statement->fetch(PDO::FETCH_OBJ);
}
+ /**
+ * Append content to existing content, prepending a line break to new content
+ * if necessary
+ *
+ * @param string $oldContent existing content
+ * @param string $newContent new content to add to existing content
+ *
+ * @return string both strings appended
+ */
public function appendWithLineBreakIfNeeded($oldContent, $newContent)
{
return ($oldContent) ? $oldContent ."\n". $newContent : $newContent;
--
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.