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