diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/IsisConnector.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php index 1111672..adc4047 100644 --- a/classes/IsisConnector.php +++ b/classes/IsisConnector.php @@ -298,6 +298,19 @@ class IsisConnector { } /** + * Get the key of a field entry. + * + * @param $field + * Field array. + * + * @return + * Field key. + */ + public function getFieldKey($field) { + return array_search($field, $this->format['fields']); + } + + /** * Remove brackets from strings whithin an array. * * @param &$values |