do not try to delete if file does not exist
[phorkie.git] / src / phorkie / Search / Result.php
index e64a3a65ccf29aa540d6753a16475f2cd78eb491..00bb1ec960e5cefcb3195a2b711fed252bbe87b2 100644 (file)
@@ -42,6 +42,11 @@ class Search_Result
     {
         return $this->perPage;
     }
+
+    public function getLink($query)
+    {
+        return '/search?q=' . urlencode($query);
+    }
 }
 
 ?>