aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/IsisConnector.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php
index 4539669..ff686da 100644
--- a/classes/IsisConnector.php
+++ b/classes/IsisConnector.php
@@ -628,6 +628,19 @@ class IsisConnector {
}
/**
+ * Get a field name.
+ *
+ * @param $field_key
+ * Field key.
+ *
+ * @return
+ * Field name.
+ */
+ public function getFieldName($field_key) {
+ return $this->format['fields'][$field_key]['name'];
+ }
+
+ /**
* Check if a field and subfield match a given condition.
*
* @param $field