function gmap_location_block_view in GMap Module 7
Same name and namespace in other branches
- 5 gmap_location.module \gmap_location_block_view()
- 6.2 gmap_location.module \gmap_location_block_view()
- 6 gmap_location.module \gmap_location_block_view()
- 7.2 gmap_location.module \gmap_location_block_view()
Implement hook_block_view().
File
- ./
gmap_location.module, line 679 - GMap Location module is a module to add some gmap funcationality based on location.modules information.
Code
function gmap_location_block_view($delta = '') {
switch ($delta) {
case 0:
if (arg(0) == 'node' && is_numeric(arg(1))) {
return _gmap_location_block_view(arg(1));
}
break;
case 1:
if (arg(0) == 'node' && is_numeric(arg(1))) {
return _gmap_location_author_block_view(arg(1));
}
break;
}
}