diff options
author | Silvio <silvio@devlet.com.br> | 2010-06-25 18:28:37 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-06-25 18:28:37 -0300 |
commit | 93ce15dd6a512f5d29fa230fba69bf796ccb4ff6 (patch) | |
tree | 3eb76c757727c7cc36d14b2e2f51f72c080da541 /classes | |
parent | 9b07549642ff1d9accb76912f980df9d5159a5d3 (diff) | |
download | cinisis-93ce15dd6a512f5d29fa230fba69bf796ccb4ff6.tar.gz cinisis-93ce15dd6a512f5d29fa230fba69bf796ccb4ff6.tar.bz2 |
Adding IsisConnector::getFields()
Diffstat (limited to 'classes')
-rw-r--r-- | classes/IsisConnector.php | 15 |
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 |