git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
search paging
[phorkie.git]
/
src
/
phorkie
/
Search
/
Result.php
diff --git
a/src/phorkie/Search/Result.php
b/src/phorkie/Search/Result.php
index e64a3a65ccf29aa540d6753a16475f2cd78eb491..00bb1ec960e5cefcb3195a2b711fed252bbe87b2 100644
(file)
--- 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);
+ }
}
?>