ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilUserSearchCache Class Reference

Class for storing search result. More...

+ Collaboration diagram for ilUserSearchCache:

Public Member Functions

 isAnonymous ()
 Check if current user is anonymous user. More...
 
 switchSearchType (int $a_type)
 switch to search type reads entries from database More...
 
 getResults ()
 Get results. More...
 
 setResults (array $a_results)
 Set results. More...
 
 addResult (array $a_result_item)
 Append result. More...
 
 appendToFailed (int $a_ref_id)
 Append failed id. More...
 
 isFailed (int $a_ref_id)
 check if reference has failed access More...
 
 appendToChecked (int $a_ref_id, int $a_obj_id)
 Append checked id. More...
 
 isChecked (int $a_ref_id)
 Check if reference was already checked. More...
 
 getCheckedItems ()
 Get all checked items public. More...
 
 setResultPageNumber (int $a_number)
 Set result page number. More...
 
 getResultPageNumber ()
 get result page number More...
 
 setQuery ($a_query)
 set query More...
 
 getQuery ()
 
 getUrlEncodedQuery ()
 Urlencode query for further use in e.g glossariers (highlighting off search terms). More...
 
 setRoot (int $a_root)
 set root node of search More...
 
 getRoot ()
 get root node More...
 
 setItemFilter (array $a_filter)
 
 getItemFilter ()
 
 setMimeFilter (array $a_filter)
 
 getMimeFilter ()
 
 setCreationFilter (array $a_filter)
 
 getCreationFilter ()
 
 deleteCachedEntries ()
 delete cached entries More...
 
 deleteCachedEntriesAnonymous ()
 Delete cached entries for anonymous user. More...
 
 delete ()
 
 save ()
 
 saveForAnonymous ()
 

Static Public Member Functions

static _getInstance (int $a_usr_id)
 

Data Fields

const DEFAULT_SEARCH = 0
 
const ADVANCED_SEARCH = 1
 
const ADVANCED_MD_SEARCH = 4
 
const LUCENE_DEFAULT = 5
 
const LUCENE_ADVANCED = 6
 
const LAST_QUERY = 7
 
const LUCENE_USER_SEARCH = 8
 

Protected Attributes

ilDBInterface $db
 

Private Member Functions

 __construct (int $a_usr_id)
 Constructor. More...
 
 read ()
 Read user entries. More...
 
 readAnonymous ()
 Read from session for anonymous user. More...
 

Private Attributes

int $usr_id
 
int $search_type = self::DEFAULT_SEARCH
 
array $search_result = array()
 
array $checked = array()
 
array $failed = array()
 
int $page_number = 1
 
 $query
 
int $root
 
array $item_filter = array()
 
bool $isAnonymous = false
 
array $mime_filter = array()
 
array $creation_filter = array()
 

Static Private Attributes

static ilUserSearchCache $instance = null
 

Detailed Description

Class for storing search result.

Allows paging of result sets

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 30 of file class.ilUserSearchCache.php.

Constructor & Destructor Documentation

◆ __construct()

ilUserSearchCache::__construct ( int  $a_usr_id)
private

Constructor.

private

Definition at line 71 of file class.ilUserSearchCache.php.

References $DIC, ANONYMOUS_USER_ID, isAnonymous(), read(), and ROOT_FOLDER_ID.

72  {
73  global $DIC;
74 
75  $this->db = $DIC->database();
76 
77  if ($a_usr_id == ANONYMOUS_USER_ID) {
78  $this->isAnonymous = true;
79  }
80 
81  $this->root = ROOT_FOLDER_ID;
82  $this->usr_id = $a_usr_id;
83  $this->search_type = self::DEFAULT_SEARCH;
84  $this->read();
85  }
const ANONYMOUS_USER_ID
Definition: constants.php:27
const ROOT_FOLDER_ID
Definition: constants.php:32
global $DIC
Definition: shib_login.php:22
isAnonymous()
Check if current user is anonymous user.
read()
Read user entries.
+ Here is the call graph for this function:

Member Function Documentation

◆ _getInstance()

static ilUserSearchCache::_getInstance ( int  $a_usr_id)
static

◆ addResult()

ilUserSearchCache::addResult ( array  $a_result_item)

Append result.

public

Parameters
array(int,int,string)array(ref_id,obj_id,type)

Definition at line 145 of file class.ilUserSearchCache.php.

145  : bool
146  {
147  $this->search_result[$a_result_item['ref_id']]['ref_id'] = $a_result_item['ref_id'];
148  $this->search_result[$a_result_item['ref_id']]['obj_id'] = $a_result_item['obj_id'];
149  $this->search_result[$a_result_item['ref_id']]['type'] = $a_result_item['type'];
150  return true;
151  }

◆ appendToChecked()

ilUserSearchCache::appendToChecked ( int  $a_ref_id,
int  $a_obj_id 
)

Append checked id.

public

Parameters
intchecked reference id
intchecked obj_id

Definition at line 177 of file class.ilUserSearchCache.php.

177  : void
178  {
179  $this->checked[$a_ref_id] = $a_obj_id;
180  }

◆ appendToFailed()

ilUserSearchCache::appendToFailed ( int  $a_ref_id)

Append failed id.

Definition at line 156 of file class.ilUserSearchCache.php.

156  : void
157  {
158  $this->failed[$a_ref_id] = $a_ref_id;
159  }

◆ delete()

ilUserSearchCache::delete ( )

Definition at line 372 of file class.ilUserSearchCache.php.

References $query, $res, and read().

372  : bool
373  {
374  $query = "DELETE FROM usr_search " .
375  "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " .
376  "AND search_type = " . $this->db->quote($this->search_type, 'integer');
377  $res = $this->db->manipulate($query);
378 
379  $this->read();
380  return true;
381  }
$res
Definition: ltiservices.php:66
read()
Read user entries.
+ Here is the call graph for this function:

◆ deleteCachedEntries()

ilUserSearchCache::deleteCachedEntries ( )

delete cached entries

Definition at line 310 of file class.ilUserSearchCache.php.

References $query, $res, deleteCachedEntriesAnonymous(), ilDBConstants\FETCHMODE_OBJECT, isAnonymous(), and setResultPageNumber().

310  : void
311  {
312  if ($this->isAnonymous()) {
314  return;
315  }
316  $query = "SELECT COUNT(*) num FROM usr_search " .
317  "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " .
318  "AND search_type = " . $this->db->quote($this->search_type, 'integer');
319  $res = $this->db->query($query);
320  $row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT);
321 
322  if ($row->num > 0) {
323  $this->db->update(
324  'usr_search',
325  array(
326  'search_result' => array('clob',serialize(array(0))),
327  'checked' => array('clob',serialize(array(0))),
328  'failed' => array('clob',serialize(array(0))),
329  'page' => array('integer',0)),
330  array(
331  'usr_id' => array('integer', $this->usr_id),
332  'search_type' => array('integer', $this->search_type)
333  )
334  );
335  } else {
336  $this->db->insert(
337  'usr_search',
338  array(
339  'search_result' => array('clob',serialize(array(0))),
340  'checked' => array('clob',serialize(array(0))),
341  'failed' => array('clob',serialize(array(0))),
342  'page' => array('integer',0),
343  'usr_id' => array('integer', $this->usr_id),
344  'search_type' => array('integer', $this->search_type),
345  'query' => array('clob',serialize(''))
346  )
347  );
348  }
349 
350  $this->setResultPageNumber(1);
351  $this->search_result = array();
352  $this->checked = array();
353  $this->failed = array();
354  }
$res
Definition: ltiservices.php:66
deleteCachedEntriesAnonymous()
Delete cached entries for anonymous user.
setResultPageNumber(int $a_number)
Set result page number.
isAnonymous()
Check if current user is anonymous user.
+ Here is the call graph for this function:

◆ deleteCachedEntriesAnonymous()

ilUserSearchCache::deleteCachedEntriesAnonymous ( )

Delete cached entries for anonymous user.

Returns
bool

Definition at line 360 of file class.ilUserSearchCache.php.

References setResultPageNumber().

Referenced by deleteCachedEntries().

360  : bool
361  {
362  $this->setResultPageNumber(1);
363  $this->search_result = array();
364  $this->checked = array();
365  $this->failed = array();
366 
367  return true;
368  }
setResultPageNumber(int $a_number)
Set result page number.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCheckedItems()

ilUserSearchCache::getCheckedItems ( )

Get all checked items public.

Returns
array array(ref_id => obj_id)

Definition at line 199 of file class.ilUserSearchCache.php.

199  : array
200  {
201  return $this->checked ?: array();
202  }

◆ getCreationFilter()

ilUserSearchCache::getCreationFilter ( )

Definition at line 301 of file class.ilUserSearchCache.php.

References $creation_filter.

Referenced by save(), and saveForAnonymous().

301  : array
302  {
303  return $this->creation_filter;
304  }
+ Here is the caller graph for this function:

◆ getItemFilter()

ilUserSearchCache::getItemFilter ( )

Definition at line 281 of file class.ilUserSearchCache.php.

References $item_filter.

Referenced by save(), and saveForAnonymous().

281  : array
282  {
283  return $this->item_filter;
284  }
+ Here is the caller graph for this function:

◆ getMimeFilter()

ilUserSearchCache::getMimeFilter ( )

Definition at line 291 of file class.ilUserSearchCache.php.

References $mime_filter.

Referenced by save(), and saveForAnonymous().

291  : array
292  {
293  return $this->mime_filter;
294  }
+ Here is the caller graph for this function:

◆ getQuery()

ilUserSearchCache::getQuery ( )
Returns
string|array query string or array (for advanced search)

Definition at line 238 of file class.ilUserSearchCache.php.

References $query.

Referenced by getUrlEncodedQuery(), save(), and saveForAnonymous().

239  {
240  if (is_array($this->query)) {
241  return $this->query;
242  }
243  return $this->query ?? '';
244  }
+ Here is the caller graph for this function:

◆ getResultPageNumber()

ilUserSearchCache::getResultPageNumber ( )

get result page number

Definition at line 220 of file class.ilUserSearchCache.php.

220  : int
221  {
222  return $this->page_number ?: 1;
223  }

◆ getResults()

ilUserSearchCache::getResults ( )

Get results.

public

Definition at line 121 of file class.ilUserSearchCache.php.

121  : array
122  {
123  return $this->search_result ?: array();
124  }

◆ getRoot()

ilUserSearchCache::getRoot ( )

get root node

Returns
int

Definition at line 271 of file class.ilUserSearchCache.php.

References ROOT_FOLDER_ID.

Referenced by save(), and saveForAnonymous().

271  : int
272  {
273  return $this->root ?: ROOT_FOLDER_ID;
274  }
const ROOT_FOLDER_ID
Definition: constants.php:32
+ Here is the caller graph for this function:

◆ getUrlEncodedQuery()

ilUserSearchCache::getUrlEncodedQuery ( )

Urlencode query for further use in e.g glossariers (highlighting off search terms).

Definition at line 249 of file class.ilUserSearchCache.php.

References $query, and getQuery().

249  : string
250  {
251  if (is_array($this->getQuery())) {
252  $query = $this->getQuery();
253 
254  return urlencode(str_replace('"', '.', $query['lom_content']));
255  }
256  return urlencode(str_replace('"', '.', $this->getQuery()));
257  }
+ Here is the call graph for this function:

◆ isAnonymous()

ilUserSearchCache::isAnonymous ( )

Check if current user is anonymous user.

Returns
bool

Definition at line 99 of file class.ilUserSearchCache.php.

References $isAnonymous.

Referenced by __construct(), deleteCachedEntries(), read(), and save().

99  : bool
100  {
101  return $this->isAnonymous;
102  }
+ Here is the caller graph for this function:

◆ isChecked()

ilUserSearchCache::isChecked ( int  $a_ref_id)

Check if reference was already checked.

public

Parameters
intref_id

Definition at line 189 of file class.ilUserSearchCache.php.

189  : bool
190  {
191  return array_key_exists($a_ref_id, $this->checked) and $this->checked[$a_ref_id];
192  }

◆ isFailed()

ilUserSearchCache::isFailed ( int  $a_ref_id)

check if reference has failed access

Definition at line 164 of file class.ilUserSearchCache.php.

164  : bool
165  {
166  return in_array($a_ref_id, $this->failed);
167  }

◆ read()

ilUserSearchCache::read ( )
private

Read user entries.

private

Definition at line 446 of file class.ilUserSearchCache.php.

References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), isAnonymous(), readAnonymous(), setCreationFilter(), setItemFilter(), and setRoot().

Referenced by __construct(), delete(), and switchSearchType().

446  : void
447  {
448  $this->failed = array();
449  $this->checked = array();
450  $this->search_result = array();
451  $this->page_number = 0;
452 
453  if ($this->isAnonymous()) {
454  $this->readAnonymous();
455  return;
456  }
457 
458  $query = "SELECT * FROM usr_search " .
459  "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " .
460  "AND search_type = " . $this->db->quote($this->search_type, 'integer');
461 
462  $res = $this->db->query($query);
463  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
464  $this->search_result = (array) unserialize((string) $row->search_result);
465  if (strlen((string) $row->checked)) {
466  $this->checked = (array) unserialize((string) $row->checked);
467  }
468  if (strlen((string) $row->failed)) {
469  $this->failed = (array) unserialize((string) $row->failed);
470  }
471  $this->page_number = (int) $row->page;
472  $this->setQuery(unserialize((string) $row->query));
473  $this->setRoot((int) $row->root);
474  $this->setItemFilter((array) unserialize((string) $row->item_filter));
475  $this->setCreationFilter((array) unserialize((string) $row->creation_filter));
476  }
477  }
$res
Definition: ltiservices.php:66
readAnonymous()
Read from session for anonymous user.
setItemFilter(array $a_filter)
isAnonymous()
Check if current user is anonymous user.
setRoot(int $a_root)
set root node of search
setCreationFilter(array $a_filter)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readAnonymous()

ilUserSearchCache::readAnonymous ( )
private

Read from session for anonymous user.

Definition at line 482 of file class.ilUserSearchCache.php.

References ilSession\get(), ILIAS\Repository\int(), ROOT_FOLDER_ID, setCreationFilter(), setItemFilter(), setMimeFilter(), setQuery(), and setRoot().

Referenced by read().

482  : void
483  {
484  $usr_search_cache = ilSession::get('usr_search_cache') ?? [];
485 
486  $this->search_result = (array) ($usr_search_cache[$this->search_type]['search_result'] ?? []);
487  $this->checked = (array) ($usr_search_cache[$this->search_type]['checked'] ?? []);
488  $this->failed = (array) ($usr_search_cache[$this->search_type]['failed'] ?? []);
489  $this->page_number = (int) ($usr_search_cache[$this->search_type]['page_number'] ?? 1);
490  $this->setQuery((string) ($usr_search_cache[$this->search_type]['query'] ?? ''));
491  $this->setRoot((int) ($usr_search_cache[$this->search_type]['root'] ?? ROOT_FOLDER_ID));
492  $this->setItemFilter((array) ($usr_search_cache[$this->search_type]['item_filter'] ?? []));
493  $this->setMimeFilter((array) ($usr_search_cache[$this->search_type]['mime_filter'] ?? []));
494  $this->setCreationFilter((array) ($usr_search_cache[$this->search_type]['creation_filter'] ?? []));
495  }
static get(string $a_var)
setQuery($a_query)
set query
const ROOT_FOLDER_ID
Definition: constants.php:32
setItemFilter(array $a_filter)
setRoot(int $a_root)
set root node of search
setMimeFilter(array $a_filter)
setCreationFilter(array $a_filter)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilUserSearchCache::save ( )

Definition at line 383 of file class.ilUserSearchCache.php.

References $query, $res, getCreationFilter(), getItemFilter(), getMimeFilter(), getQuery(), getRoot(), isAnonymous(), and saveForAnonymous().

383  : void
384  {
385  if ($this->isAnonymous()) {
386  $this->saveForAnonymous();
387  return;
388  }
389 
390  $query = "DELETE FROM usr_search " .
391  "WHERE usr_id = " . $this->db->quote($this->usr_id, 'integer') . " " .
392  "AND ( search_type = " . $this->db->quote($this->search_type, 'integer') . ' ' .
393  "OR search_type = " . $this->db->quote(self::LAST_QUERY, 'integer') . ')';
394  $res = $this->db->manipulate($query);
395 
396  $this->db->insert('usr_search', array(
397  'usr_id' => array('integer', $this->usr_id),
398  'search_result' => array('clob',serialize($this->search_result)),
399  'checked' => array('clob',serialize($this->checked)),
400  'failed' => array('clob',serialize($this->failed)),
401  'page' => array('integer', $this->page_number),
402  'search_type' => array('integer', $this->search_type),
403  'query' => array('clob',serialize($this->getQuery())),
404  'root' => array('integer',$this->getRoot()),
405  'item_filter' => array('text',serialize($this->getItemFilter())),
406  'mime_filter' => array('text', serialize($this->getMimeFilter())),
407  'creation_filter' => array('text', serialize($this->getCreationFilter()))
408  ));
409 
410 
411  // Write last query information
412  $this->db->insert(
413  'usr_search',
414  array(
415  'usr_id' => array('integer',$this->usr_id),
416  'search_type' => array('integer',self::LAST_QUERY),
417  'query' => array('text',serialize($this->getQuery()))
418  )
419  );
420  }
$res
Definition: ltiservices.php:66
isAnonymous()
Check if current user is anonymous user.
+ Here is the call graph for this function:

◆ saveForAnonymous()

ilUserSearchCache::saveForAnonymous ( )

Definition at line 422 of file class.ilUserSearchCache.php.

References $checked, $failed, $page_number, $search_result, $search_type, ilSession\clear(), getCreationFilter(), getItemFilter(), getMimeFilter(), getQuery(), getRoot(), and ilSession\set().

Referenced by save().

422  : void
423  {
424  ilSession::clear('usr_search_cache');
425  $session_usr_search = [];
426  $session_usr_search[$this->search_type]['search_result'] = $this->search_result;
427  $session_usr_search[$this->search_type]['checked'] = $this->checked;
428  $session_usr_search[$this->search_type]['failed'] = $this->failed;
429  $session_usr_search[$this->search_type]['page'] = $this->page_number;
430  $session_usr_search[$this->search_type]['query'] = $this->getQuery();
431  $session_usr_search[$this->search_type]['root'] = $this->getRoot();
432  $session_usr_search[$this->search_type]['item_filter'] = $this->getItemFilter();
433  $session_usr_search[$this->search_type]['mime_filter'] = $this->getMimeFilter();
434  $session_usr_search[$this->search_type]['creation_filter'] = $this->getCreationFilter();
435  $session_usr_search[self::LAST_QUERY]['query'] = $this->getQuery();
436  ilSession::set('usr_search_cache', $session_usr_search);
437  }
static clear(string $a_var)
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCreationFilter()

ilUserSearchCache::setCreationFilter ( array  $a_filter)

Definition at line 296 of file class.ilUserSearchCache.php.

Referenced by read(), and readAnonymous().

296  : void
297  {
298  $this->creation_filter = $a_filter;
299  }
+ Here is the caller graph for this function:

◆ setItemFilter()

ilUserSearchCache::setItemFilter ( array  $a_filter)

Definition at line 276 of file class.ilUserSearchCache.php.

Referenced by read(), and readAnonymous().

276  : void
277  {
278  $this->item_filter = $a_filter;
279  }
+ Here is the caller graph for this function:

◆ setMimeFilter()

ilUserSearchCache::setMimeFilter ( array  $a_filter)

Definition at line 286 of file class.ilUserSearchCache.php.

Referenced by readAnonymous().

286  : void
287  {
288  $this->mime_filter = $a_filter;
289  }
+ Here is the caller graph for this function:

◆ setQuery()

ilUserSearchCache::setQuery (   $a_query)

set query

Parameters
mixedquery string or array (for advanced search)
Returns
void

Definition at line 230 of file class.ilUserSearchCache.php.

Referenced by readAnonymous().

230  : void
231  {
232  $this->query = $a_query;
233  }
+ Here is the caller graph for this function:

◆ setResultPageNumber()

ilUserSearchCache::setResultPageNumber ( int  $a_number)

Set result page number.

public

Definition at line 210 of file class.ilUserSearchCache.php.

Referenced by deleteCachedEntries(), and deleteCachedEntriesAnonymous().

210  : void
211  {
212  if ($a_number) {
213  $this->page_number = $a_number;
214  }
215  }
+ Here is the caller graph for this function:

◆ setResults()

ilUserSearchCache::setResults ( array  $a_results)

Set results.

public

Parameters
array(int=> array(int,int,string)) array(ref_id => array(ref_id,obj_id,type))

Definition at line 133 of file class.ilUserSearchCache.php.

133  : void
134  {
135  $this->search_result = $a_results;
136  }

◆ setRoot()

ilUserSearchCache::setRoot ( int  $a_root)

set root node of search

Definition at line 262 of file class.ilUserSearchCache.php.

Referenced by read(), and readAnonymous().

262  : void
263  {
264  $this->root = $a_root;
265  }
+ Here is the caller graph for this function:

◆ switchSearchType()

ilUserSearchCache::switchSearchType ( int  $a_type)

switch to search type reads entries from database

Definition at line 108 of file class.ilUserSearchCache.php.

References read().

108  : bool
109  {
110  $this->search_type = $a_type;
111  $this->read();
112  return true;
113  }
read()
Read user entries.
+ Here is the call graph for this function:

Field Documentation

◆ $checked

array ilUserSearchCache::$checked = array()
private

Definition at line 49 of file class.ilUserSearchCache.php.

Referenced by saveForAnonymous().

◆ $creation_filter

array ilUserSearchCache::$creation_filter = array()
private

Definition at line 61 of file class.ilUserSearchCache.php.

Referenced by getCreationFilter().

◆ $db

ilDBInterface ilUserSearchCache::$db
protected

Definition at line 43 of file class.ilUserSearchCache.php.

◆ $failed

array ilUserSearchCache::$failed = array()
private

Definition at line 50 of file class.ilUserSearchCache.php.

Referenced by saveForAnonymous().

◆ $instance

ilUserSearchCache ilUserSearchCache::$instance = null
staticprivate

Definition at line 42 of file class.ilUserSearchCache.php.

◆ $isAnonymous

bool ilUserSearchCache::$isAnonymous = false
private

Definition at line 59 of file class.ilUserSearchCache.php.

Referenced by isAnonymous().

◆ $item_filter

array ilUserSearchCache::$item_filter = array()
private

Definition at line 58 of file class.ilUserSearchCache.php.

Referenced by getItemFilter().

◆ $mime_filter

array ilUserSearchCache::$mime_filter = array()
private

Definition at line 60 of file class.ilUserSearchCache.php.

Referenced by getMimeFilter().

◆ $page_number

int ilUserSearchCache::$page_number = 1
private

Definition at line 51 of file class.ilUserSearchCache.php.

Referenced by saveForAnonymous().

◆ $query

string array ilUserSearchCache::$query
private

◆ $root

int ilUserSearchCache::$root
private

Definition at line 57 of file class.ilUserSearchCache.php.

◆ $search_result

array ilUserSearchCache::$search_result = array()
private

Definition at line 48 of file class.ilUserSearchCache.php.

Referenced by saveForAnonymous().

◆ $search_type

int ilUserSearchCache::$search_type = self::DEFAULT_SEARCH
private

Definition at line 46 of file class.ilUserSearchCache.php.

Referenced by saveForAnonymous().

◆ $usr_id

int ilUserSearchCache::$usr_id
private

Definition at line 45 of file class.ilUserSearchCache.php.

◆ ADVANCED_MD_SEARCH

◆ ADVANCED_SEARCH

const ilUserSearchCache::ADVANCED_SEARCH = 1

◆ DEFAULT_SEARCH

const ilUserSearchCache::DEFAULT_SEARCH = 0

Definition at line 32 of file class.ilUserSearchCache.php.

◆ LAST_QUERY

const ilUserSearchCache::LAST_QUERY = 7

◆ LUCENE_ADVANCED

const ilUserSearchCache::LUCENE_ADVANCED = 6

◆ LUCENE_DEFAULT

const ilUserSearchCache::LUCENE_DEFAULT = 5

Definition at line 35 of file class.ilUserSearchCache.php.

Referenced by ilLuceneSearchGUI\initUserSearchCache().

◆ LUCENE_USER_SEARCH

const ilUserSearchCache::LUCENE_USER_SEARCH = 8

The documentation for this class was generated from the following file: