aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-07-28 15:47:06 -0300
committerSilvio <silvio@devlet.com.br>2010-07-28 15:47:06 -0300
commita4da9a28fb43366c51bbb174a1cec373c319fa89 (patch)
treea68cbb7b943e6e053cbbaa5190dae6324abfec90
parent26112ad411e9d34912c8fba6e6f546074432152b (diff)
downloadcinisis-a4da9a28fb43366c51bbb174a1cec373c319fa89.tar.gz
cinisis-a4da9a28fb43366c51bbb174a1cec373c319fa89.tar.bz2
Adding getFieldName() into IsisConnector
-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