"some oracle" ]; // this function should take in a query string search from $_GET, // and return a bool determining whether or not it is a question // intended for the oracle. public function check_query($q) { return false; } // produce the correct answer for the query using the oracle. // note: if it becomes apparent /during generation/ that the // query is not in fact for the oracle, returning an empty // string will kill the oracle pane. // answer format: ["ans1 title" => "ans1", ...] public function generate_response($q) { return ""; } } ?>