diff options
author | Silvio <silvio@devlet.com.br> | 2010-09-08 18:44:19 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-09-08 18:44:19 -0300 |
commit | aaf77d9ffa20677ade451c1008aa25733dc572dc (patch) | |
tree | a9ab2a7ea7aa5015c7ce594e7c134f988ab8e45d /classes/IsisMap.php | |
parent | f49ad3720c73f21562f6699d7c6c3f1fae89e35e (diff) | |
download | cinisis-aaf77d9ffa20677ade451c1008aa25733dc572dc.tar.gz cinisis-aaf77d9ffa20677ade451c1008aa25733dc572dc.tar.bz2 |
Adding function getFullMap into IsisMap
Diffstat (limited to 'classes/IsisMap.php')
-rw-r--r-- | classes/IsisMap.php | 17 |
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; + } } |