Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 function GetCmpFunction($module, $opts = false)
 {
     if ($this->req->props['db_server']) {
         return array($this, "ResultCmp");
     }
     return parent::GetCmpFunction($module, $opts);
 }
Exemplo n.º 3
0
 function __construct(REQUEST $req = NULL, $opts = false)
 {
     parent::__construct($req, $opts);
     $this->modules = array("proxy");
 }
Exemplo n.º 4
0
 function __construct(REQUEST $req = NULL, $opts = false)
 {
     parent::__construct($req, $opts);
     $this->modules = array("interval" => _("Dates"));
     $this->engine_search = array("interval");
 }