Example #1
0
 function send()
 {
     $this->__initClient();
     switch ($this->getMode()) {
         case MODE_HTML2PDF:
             $this->__prepareHTML2PDFParams();
             break;
         default:
             $this->log->write('ilHTML2PDF(): No valid mode given');
             return false;
     }
     return parent::send();
 }
 function send()
 {
     $this->__initClient();
     switch ($this->getMode()) {
         case 'ping':
             $this->__preparePingParams();
             break;
         case 'file':
             $this->__prepareIndexFileParams();
             break;
         case 'query':
             $this->__prepareQueryParams();
             break;
         case 'htlm':
             $this->__prepareIndexHTLMParams();
             break;
         case 'flush':
             $this->__prepareFlushIndex();
             break;
             // BEGIN PATCH Lucene search
         // BEGIN PATCH Lucene search
         case 'search':
             $this->__prepareSearchParams();
             break;
         case 'highlight':
             $this->__prepareHighlightParams();
             break;
         case 'refreshSettings':
             $this->__prepareRefreshSettingsParams();
             break;
             // END PATCH Lucene Search
         // END PATCH Lucene Search
         default:
             $this->log->write('ilLuceneRPCHandler(): No valid mode given');
             return false;
     }
     return parent::send();
 }