function gmap_parse_macro in GMap Module 7
Same name and namespace in other branches
- 5 gmap.module \gmap_parse_macro()
- 6.2 gmap.module \gmap_parse_macro()
- 6 gmap.module \gmap_parse_macro()
- 7.2 gmap.module \gmap_parse_macro()
Convert a macro string into a GMap array.
Parameters
$instring: Macro to process.
$ver: Version to treat macro as. Set to 1 when processing very old macros, otherwise leave as is.
Return value
A GMap array.
11 calls to gmap_parse_macro()
- GMapMacroTest::testEmptyMacro in tests/
gmap.test - GMapMacroTest::testMacroBehaviorFlags in tests/
gmap.test - GMapMacroTest::testMacroRenamedDirectives in tests/
gmap.test - gmap_location_node_page in ./
gmap_location.module - Draws a page with a google map with the node on it, or if no node is set all of the nodes on it.
- gmap_location_user_page in ./
gmap_location.module - Draws a page with a google map that has all of the site users.
File
- ./
gmap.module, line 387 - GMap -- Routines to use the Google Maps API in Drupal.
Code
function gmap_parse_macro($instring, $ver = 2) {
require_once drupal_get_path('module', 'gmap') . '/gmap_parse_macro.inc';
return _gmap_parse_macro($instring, $ver);
}