function NewModule(SEARCHEngine $engine, $module, $title = false, $description = false) { $data = array('module' => $module, 'title' => $title !== false ? $title : $engine->GetModuleTitle($module), 'description' => $description !== false ? $description : $engine->GetModuleDescription($module)); $this->results[$module] = $data; $this->AcceptCurrent(); $this->current = $module; $this->engine = $engine; }
function GetCmpFunction($module, $opts = false) { if ($this->req->props['db_server']) { return array($this, "ResultCmp"); } return parent::GetCmpFunction($module, $opts); }
function __construct(REQUEST $req = NULL, $opts = false) { parent::__construct($req, $opts); $this->modules = array("proxy"); }
function __construct(REQUEST $req = NULL, $opts = false) { parent::__construct($req, $opts); $this->modules = array("interval" => _("Dates")); $this->engine_search = array("interval"); }