function getdirections_user_setlocations in Get Directions 7.3
Same name and namespace in other branches
- 6.2 getdirections.module \getdirections_user_setlocations()
- 6 getdirections.module \getdirections_user_setlocations()
- 7.2 getdirections.module \getdirections_user_setlocations()
Function to setup the map
Parameters
int $fromuid: Required. The uid of the starting point
int $touid: Required. The uid of the destination
Return value
Returns the themed map
1 call to getdirections_user_setlocations()
- getdirections_direction_box in ./
getdirections.module - for colorbox and suchlike
1 string reference to 'getdirections_user_setlocations'
- getdirections_menu in ./
getdirections.module - Implement hook_menu().
File
- ./
getdirections.module, line 1109 - Fetches google map directions.
Code
function getdirections_user_setlocations($fromuid, $touid, $width = '', $height = '') {
$content = getdirections_entity_setlocations('user', $fromuid, 'user', $touid, $width, $height);
return $content;
}