Parent Directory
|
Revision Log
|
Revision Graph
#306528 by rsoden - restarting module with Views 2.x support. Can now create a KML Feed view type. Other functionality (e.g. network links, styling, structured address support, individual node links, etc.) is currently limited.
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * KML module. |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Implementation of hook_views_api(). |
| 11 | */ |
| 12 | function kml_views_api() { |
| 13 | return array( |
| 14 | 'api' => 2, |
| 15 | 'path' => drupal_get_path('module', 'kml') .'/views', |
| 16 | ); |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * Implementation of hook_theme(). |
| 21 | */ |
| 22 | function kml_theme() { |
| 23 | $path = drupal_get_path('module', 'kml'); |
| 24 | return array( |
| 25 | 'kml_placemark' => array( |
| 26 | 'arguments' => array('point' => array()), |
| 27 | 'file' => 'kml_views.theme.inc', |
| 28 | 'template' => 'kml-placemark', |
| 29 | 'path' => "$path/views", |
| 30 | ), |
| 31 | ); |
| 32 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |