diff options
Diffstat (limited to 'src/phorkie/Database/Adapter/Null/Search.php')
| -rw-r--r-- | src/phorkie/Database/Adapter/Null/Search.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/phorkie/Database/Adapter/Null/Search.php b/src/phorkie/Database/Adapter/Null/Search.php new file mode 100644 index 0000000..0731932 --- /dev/null +++ b/src/phorkie/Database/Adapter/Null/Search.php @@ -0,0 +1,16 @@ +<?php +namespace phorkie; + +class Database_Adapter_Null_Search implements Database_ISearch +{ + public function search($term, $page = 0, $perPage = 10) + { + $sres = new Search_Result(); + $sres->results = 0; + $sres->page = $page; + $sres->perPage = $perPage; + return $sres; + } +} + +?> |
