Add password-less page with searches
[infodrom/musiikki-web.git] / class / ajax.class.php
index 2c873ef..8d11ee5 100644 (file)
@@ -136,4 +136,24 @@ class AJAX {
 
        return false;
     }
+
+    public static function getsearchAction()
+    {
+       return array();
+    }
+
+    public static function searchAction()
+    {
+       $cache = new Cache();
+
+       $list = $cache->findTitles($_POST['keyword']);
+
+       return $list;
+    }
+
+    public static function getresultsAction()
+    {
+       return array();
+    }
+
 }