aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/Database/Adapter/Null/Search.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/phorkie/Database/Adapter/Null/Search.php')
-rw-r--r--src/phorkie/Database/Adapter/Null/Search.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/phorkie/Database/Adapter/Null/Search.php b/src/phorkie/Database/Adapter/Null/Search.php
index 0731932..579c13a 100644
--- a/src/phorkie/Database/Adapter/Null/Search.php
+++ b/src/phorkie/Database/Adapter/Null/Search.php
@@ -11,6 +11,15 @@ class Database_Adapter_Null_Search implements Database_ISearch
$sres->perPage = $perPage;
return $sres;
}
+
+ public function listAll($page = 0, $perPage = 10, $sort = 'id', $sortOrder = null)
+ {
+ $sres = new Search_Result();
+ $sres->results = 0;
+ $sres->page = $page;
+ $sres->perPage = $perPage;
+ return $sres;
+ }
}
?>