/[drupal]/contributions/modules/kml/kml.module
ViewVC logotype

Contents of /contributions/modules/kml/kml.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download) (as text)
Tue Sep 8 14:49:09 2009 UTC (2 months, 2 weeks ago) by geodan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +18 -598 lines
File MIME type: text/x-php
#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