aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/phorkie/Search/Result.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/phorkie/Search/Result.php b/src/phorkie/Search/Result.php
index e64a3a6..00bb1ec 100644
--- a/src/phorkie/Search/Result.php
+++ b/src/phorkie/Search/Result.php
@@ -42,6 +42,11 @@ class Search_Result
{
return $this->perPage;
}
+
+ public function getLink($query)
+ {
+ return '/search?q=' . urlencode($query);
+ }
}
?>