aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisReader.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-23 16:21:12 -0300
committerSilvio <silvio@devlet.com.br>2010-08-23 16:21:12 -0300
commit9fb011b14ef82caf9adf266d81a4984b17280822 (patch)
tree4cedf7656f254a731a681c73e1eb41c7f653331a /classes/IsisReader.php
parent3fa521d2a74df3e243f36bbf6995eea8082573cb (diff)
downloadcinisis-9fb011b14ef82caf9adf266d81a4984b17280822.tar.gz
cinisis-9fb011b14ef82caf9adf266d81a4984b17280822.tar.bz2
Refactoring CSV app using IsisConnector
Diffstat (limited to 'classes/IsisReader.php')
-rw-r--r--classes/IsisReader.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/classes/IsisReader.php b/classes/IsisReader.php
index bb818a5..9926d3b 100644
--- a/classes/IsisReader.php
+++ b/classes/IsisReader.php
@@ -52,6 +52,9 @@ class IsisReader {
*
* @param $value
* Array with bracketed strings.
+ *
+ * @return
+ * Array with strings without brackets.
*/
public function removeBrackets($value) {
$value = str_replace('<', '', $value);
@@ -61,6 +64,17 @@ class IsisReader {
/**
* Remove brackets from strings whithin an array.
+ * Callback version
+ *
+ * @param $value
+ * Array with bracketed strings.
+ */
+ public function removeBracketsCallback(&$value = NULL) {
+ $value = $this->removeBrackets($value);
+ }
+
+ /**
+ * Remove brackets from strings whithin an array.
*
* @param &$values
* Array with bracketed strings.