git.cweiske.de
/
phorkie.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
null adapter that is used when no search adapter is configured
[phorkie.git]
/
src
/
phorkie
/
Database
/
Adapter
/
Null
/
Search.php
1
<?php
2
namespace phorkie;
3
4
class Database_Adapter_Null_Search implements Database_ISearch
5
{
6
public function search($term, $page = 0, $perPage = 10)
7
{
8
$sres = new Search_Result();
9
$sres->results = 0;
10
$sres->page = $page;
11
$sres->perPage = $perPage;
12
return $sres;
13
}
14
}
15
16
?>