diff options
Diffstat (limited to 'classes/IsisConnector.php')
-rw-r--r-- | classes/IsisConnector.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php index 64a6c59..09bb8ea 100644 --- a/classes/IsisConnector.php +++ b/classes/IsisConnector.php @@ -448,6 +448,23 @@ class IsisConnector { } /** + * Get the array which defines a field. + * + * @param $field_key + * Field key. + * + * @return + * Field array. + */ + public function getFieldArray($field_key) { + if (isset($this->format['fields'][$field_key])) { + return $this->format['fields'][$field_key]; + } + + return NULL; + } + + /** * Remove brackets from strings whithin an array. * * @param $value |