<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,7 +8,7 @@
  * Copyright (c) 2005 UK Citizens Online Democracy. All rights reserved.
  * WWW: http://www.mysociety.org
  *
- * $Id: mapit.php,v 1.58 2007/08/24 12:27:31 matthew Exp $
+ * $Id: mapit.php,v 1.59 2007/10/06 09:26:17 matthew Exp $
  *
  */
 
@@ -103,9 +103,9 @@ function mapit_get_voting_areas_info($ary) {
 
 /* mapit_get_voting_area_by_name NAME [TYPE]
 
-  Given NAME, return the area IDs that begin with that name, or undef if
-  none found. If TYPE is specified (scalar or array ref), only return areas
-  of those type(s). */
+  Given NAME, return the area IDs (and other info) that begin with that
+  name, or undef if none found. If TYPE is specified (scalar or array ref),
+  only return areas of those type(s). */
 function mapit_get_voting_area_by_name($name, $type = null) {
     global $mapit_client;
     $params = func_get_args();
@@ -158,7 +158,7 @@ function mapit_get_voting_areas_geometry($ary, $polygon_type = null) {
     return $result;
 }
 
-/* mapit_get_voting_areas_by_location COORDINATE METHOD [TYPE(S)]
+/* mapit_get_voting_areas_by_location COORDINATE METHOD [TYPE(S)] [GENERATION]
 
   Returns a hash of voting areas and types which the given COORDINATE
   (either easting and northing, or latitude and longitude) is in. This only
@@ -171,7 +171,7 @@ function mapit_get_voting_areas_geometry($ary, $polygon_type = null) {
 
   If TYPE is present, restricts to areas of that type, such as WMC for
   Westminster Constituencies only. */
-function mapit_get_voting_areas_by_location($coordinate, $method, $types = null) {
+function mapit_get_voting_areas_by_location($coordinate, $method, $types = null, $generation = null) {
     global $mapit_client;
     $params = func_get_args();
     $result = $mapit_client-&gt;call('MaPit.get_voting_areas_by_location', $params);</diff>
      <filename>mapit.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e829959895f73ca192c772627b31b9fb5a2c60d4</id>
    </parent>
  </parents>
  <author>
    <name>matthew</name>
    <email>matthew</email>
  </author>
  <url>http://github.com/mlandauer/phplib/commit/c88204a1b4e7b14f1a4e3464b6e0e25dba6909e8</url>
  <id>c88204a1b4e7b14f1a4e3464b6e0e25dba6909e8</id>
  <committed-date>2007-10-06T02:26:17-07:00</committed-date>
  <authored-date>2007-10-06T02:26:17-07:00</authored-date>
  <message>Allow lookup by location of old generation areas.</message>
  <tree>abdc7f9020d161958632eba772c9b170e44bf4e9</tree>
  <committer>
    <name>matthew</name>
    <email>matthew</email>
  </committer>
</commit>
