aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisReader.php
diff options
context:
space:
mode:
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.