aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisMap.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/IsisMap.php')
-rw-r--r--classes/IsisMap.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/classes/IsisMap.php b/classes/IsisMap.php
index 61df038..5e800f8 100644
--- a/classes/IsisMap.php
+++ b/classes/IsisMap.php
@@ -330,4 +330,21 @@ class IsisMap extends IsisReader {
return $fields;
}
+
+ /**
+ * Get the full map.
+ *
+ * @param $field
+ * Field key.
+ *
+ * @return
+ * Array with full map or false if there is no map.
+ */
+ public function getFullMap($field) {
+ if (isset($field['map'])) {
+ return $field['map'];
+ }
+
+ return FALSE;
+ }
}