aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisConnector.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-06-25 18:28:37 -0300
committerSilvio <silvio@devlet.com.br>2010-06-25 18:28:37 -0300
commit93ce15dd6a512f5d29fa230fba69bf796ccb4ff6 (patch)
tree3eb76c757727c7cc36d14b2e2f51f72c080da541 /classes/IsisConnector.php
parent9b07549642ff1d9accb76912f980df9d5159a5d3 (diff)
downloadcinisis-93ce15dd6a512f5d29fa230fba69bf796ccb4ff6.tar.gz
cinisis-93ce15dd6a512f5d29fa230fba69bf796ccb4ff6.tar.bz2
Adding IsisConnector::getFields()
Diffstat (limited to 'classes/IsisConnector.php')
-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