]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/TokenPartial.php
remove Token from explicit input for SearchDescription extension
[nominatim.git] / lib-php / TokenPartial.php
index 477ef9c5a1547c149366844353b0f197edf1316b..99a759474edde918b757531ea880f3d783ac77b5 100644 (file)
@@ -11,10 +11,13 @@ class Partial
     public $iId;
     /// Number of appearances in the database.
     public $iSearchNameCount;
+    /// Normalised version of the partial word.
+    public $sToken;
 
-    public function __construct($iId, $iSearchNameCount)
+    public function __construct($iId, $sToken, $iSearchNameCount)
     {
         $this->iId = $iId;
+        $this->sToken = $sToken;
         $this->iSearchNameCount = $iSearchNameCount;
     }