aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/Database/ISearch.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-05-07 21:10:51 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-05-07 21:10:51 +0200
commit58919afe451ad5b2088d61ff1c856f44dd522b32 (patch)
treeb5963cc7d1fdf2704de345b9333c207c3dd0a5bf /src/phorkie/Database/ISearch.php
parent7c5ea8dded583601f29c7ea9bcb507ecbdd854d6 (diff)
downloadphorkie-58919afe451ad5b2088d61ff1c856f44dd522b32.tar.gz
phorkie-58919afe451ad5b2088d61ff1c856f44dd522b32.zip
add interfaces for database adapter
Diffstat (limited to 'src/phorkie/Database/ISearch.php')
-rw-r--r--src/phorkie/Database/ISearch.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/phorkie/Database/ISearch.php b/src/phorkie/Database/ISearch.php
new file mode 100644
index 0000000..b18d43a
--- /dev/null
+++ b/src/phorkie/Database/ISearch.php
@@ -0,0 +1,9 @@
+<?php
+namespace phorkie;
+
+interface Database_ISearch
+{
+ public function search($term, $page = 0, $perPage = 10);
+}
+
+?>