function gmap_parse_macro in GMap Module 7.2
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 gmap.module \gmap_parse_macro()
Convert a macro string into a GMap array.
@todo move this to GmapMacroToolbox
Parameters
string $instring: Macro to process.
int $ver: Version to treat macro as. Set to 1 when processing very old macros, otherwise leave as is.
Return value
array 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.
- 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 282 - 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);
}