From aaf77d9ffa20677ade451c1008aa25733dc572dc Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 8 Sep 2010 18:44:19 -0300 Subject: Adding function getFullMap into IsisMap --- classes/IsisMap.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'classes/IsisMap.php') 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; + } } -- cgit v1.2.3