aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/Database.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-05-01 20:40:24 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-05-01 20:40:24 +0200
commit1a8bb56c72ad34cf159e03b97a467e5e35a614c5 (patch)
tree9a2d3f9a369aed9c967cf8001a883a2a60f3a002 /src/phorkie/Database.php
parentc78bab0c18fb9db18408f1601280997ee8b0779f (diff)
downloadphorkie-1a8bb56c72ad34cf159e03b97a467e5e35a614c5.tar.gz
phorkie-1a8bb56c72ad34cf159e03b97a467e5e35a614c5.zip
searching works now (pager missing)
Diffstat (limited to 'src/phorkie/Database.php')
-rw-r--r--src/phorkie/Database.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/phorkie/Database.php b/src/phorkie/Database.php
new file mode 100644
index 0000000..add38be
--- /dev/null
+++ b/src/phorkie/Database.php
@@ -0,0 +1,18 @@
+<?php
+namespace phorkie;
+
+class Database
+{
+ public function getSearch()
+ {
+ return new Search_Elasticsearch();
+ }
+
+ public function getIndexer()
+ {
+ //FIXME
+ }
+
+}
+
+?>