aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/IsisConnector.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php
index 4577a23..6467959 100644
--- a/classes/IsisConnector.php
+++ b/classes/IsisConnector.php
@@ -39,6 +39,21 @@ class IsisConnector {
}
/**
+ * Get all values of a given field.
+ *
+ * @param $field
+ * Field array.
+ *
+ * @return
+ * Field data.
+ */
+ public function getFields($field) {
+ if (isset($this->result[$field['name']])) {
+ return $this->result[$field['name']];
+ }
+ }
+
+ /**
* Get the value of a given field.
*
* @param $field