33 include_once
'Services/WebServices/RPC/classes/class.ilRPCServerAdapter.php';
51 $this->mode = $a_mode;
63 return $this->files ? $this->files : array();
67 $this->htlms = $htlms;
76 $this->query_str = $a_str;
84 $this->page_number = $a_number;
93 $this->filter = $a_filter;
97 return $this->filter ? $this->filter : array();
110 return $ilias->getSetting(
'nic_key').
'_'.CLIENT_ID;
149 case 'refreshSettings':
155 $this->log->write(
'ilLuceneRPCHandler(): No valid mode given');
168 $filter[] =
new XML_RPC_Value($obj_type,
'string');
172 new XML_RPC_Value(
$filter,
'array')));
188 foreach($this->
getFiles() as $obj_id => $fname)
190 $struct[$obj_id] =
new XML_RPC_Value($fname,
"string");
193 new XML_RPC_Value($struct,
"struct"));
203 foreach($this->
getHTLMs() as $obj_id => $fname)
205 $struct[$obj_id] =
new XML_RPC_Value($fname,
"string");
209 new XML_RPC_Value($struct,
"struct")));
246 $objIds[] =
new XML_RPC_Value($obj_id,
'int');
251 new XML_RPC_VAlue($objIds,
'array'),
261 $this->
__initMessage(
'RPCAdministration.refreshSettings',array(
273 $this->result_ids = $a_ids;
282 return $this->result_ids ? $this->result_ids : array();
294 return CLIENT_ID.
'_'.$ilSetting->get(
'inst_id',0);