diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-23 16:21:12 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-23 16:21:12 -0300 |
commit | 9fb011b14ef82caf9adf266d81a4984b17280822 (patch) | |
tree | 4cedf7656f254a731a681c73e1eb41c7f653331a /classes/IsisReader.php | |
parent | 3fa521d2a74df3e243f36bbf6995eea8082573cb (diff) | |
download | cinisis-9fb011b14ef82caf9adf266d81a4984b17280822.tar.gz cinisis-9fb011b14ef82caf9adf266d81a4984b17280822.tar.bz2 |
Refactoring CSV app using IsisConnector
Diffstat (limited to 'classes/IsisReader.php')
-rw-r--r-- | classes/IsisReader.php | 14 |
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. |