Exemplo n.º 1
0
 function DeleteFromSearchIndex(&$params)
 {
     $aeform = new fbForm($this, $params, true);
     // find browsers keyed to this
     $browsers = $aeform->GetFormBrowsersForForm();
     if (count($browsers) < 1) {
         return;
     }
     $module =& $this->module_ptr->GetModuleInstance('Search');
     if ($module != FALSE) {
         foreach ($browsers as $thisBrowser) {
             $module->DeleteWords('FormBrowser', $params['response_id'], 'sub_' . $thisBrowser);
         }
     }
 }