ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables 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 ($a_type)
 switch to search type reads entries from database More...
 
 getResults ()
 Get results. More...
 
 setResults ($a_results)
 Set results. More...
 
 addResult ($a_result_item)
 Append result. More...
 
 appendToFailed ($a_ref_id)
 Append failed id. More...
 
 isFailed ($a_ref_id)
 check if reference has failed access More...
 
 appendToChecked ($a_ref_id, $a_obj_id)
 Append checked id. More...
 
 isChecked ($a_ref_id)
 Check if reference was already checked. More...
 
 getCheckedItems ()
 Get all checked items. More...
 
 setResultPageNumber ($a_number)
 Set result page number. More...
 
 getResultPageNumber ()
 get result page number More...
 
 setQuery ($a_query)
 set query More...
 
 getQuery ()
 get query More...
 
 getUrlEncodedQuery ()
 Urlencode query for further use in e.g glossariers (highlighting off search terms). More...
 
 setRoot ($a_root)
 set root node of search More...
 
 getRoot ()
 get root node More...
 
 setItemFilter ($a_filter)
 
 getItemFilter ()
 
 setMimeFilter ($a_filter)
 
 getMimeFilter ()
 
 deleteCachedEntries ()
 delete cached entries More...
 
 deleteCachedEntriesAnonymous ()
 Delete cached entries for anonymous user. More...
 
 delete ()
 Delete user entries. More...
 
 save ()
 Save entries. More...
 
 saveForAnonymous ()
 

Static Public Member Functions

static _getInstance ($a_usr_id)
 Get singleton instance. More...
 

Data Fields

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

Private Member Functions

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

Private Attributes

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

Static Private Attributes

static $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
Version
$Id$

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

Constructor & Destructor Documentation

◆ __construct()

ilUserSearchCache::__construct (   $a_usr_id)
private

Constructor.

private

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

References DEFAULT_SEARCH, isAnonymous(), and read().

78  {
79  global $ilDB;
80 
81  if($a_usr_id == ANONYMOUS_USER_ID)
82  {
83  $this->isAnonymous = true;
84  }
85 
86  $this->db = $ilDB;
87  $this->usr_id = $a_usr_id;
88  $this->search_type = self::DEFAULT_SEARCH;
89  $this->read();
90  }
const DEFAULT_SEARCH
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 (   $a_usr_id)
static

Get singleton instance.

public

Parameters
intusr_id

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

Referenced by ilLuceneSearchResultFilter\__construct(), ilObjGlossarySubItemListGUI\getHTML(), ilLMPresentationGUI\ilPage(), ilShopResultPresentationGUI\ilShopResultPresentationGUI(), ilLuceneUserSearchGUI\initUserSearchCache(), ilLuceneAdvancedSearchGUI\initUserSearchCache(), ilLuceneSearchGUI\initUserSearchCache(), ilSearchResult\initUserSearchCache(), ilSearchGUI\initUserSearchCache(), ilAdvancedSearchGUI\initUserSearchCache(), ilGlossaryPresentationGUI\listDefinitions(), and ilWikiPageGUI\preview().

101  {
102  if(is_object(self::$instance) and self::$instance)
103  {
104  return self::$instance;
105  }
106  return self::$instance = new ilUserSearchCache($a_usr_id);
107  }
Class for storing search result.
+ Here is the caller graph for this function:

◆ addResult()

ilUserSearchCache::addResult (   $a_result_item)

Append result.

public

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

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

164  {
165  $this->search_result[$a_result_item['ref_id']]['ref_id'] = $a_result_item['ref_id'];
166  $this->search_result[$a_result_item['ref_id']]['obj_id'] = $a_result_item['obj_id'];
167  $this->search_result[$a_result_item['ref_id']]['type'] = $a_result_item['type'];
168  return true;
169  }

◆ appendToChecked()

ilUserSearchCache::appendToChecked (   $a_ref_id,
  $a_obj_id 
)

Append checked id.

public

Parameters
intchecked reference id
intchecked obj_id

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

204  {
205  $this->checked[$a_ref_id] = $a_obj_id;
206  }

◆ appendToFailed()

ilUserSearchCache::appendToFailed (   $a_ref_id)

Append failed id.

public

Parameters
intref_id of failed access

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

179  {
180  $this->failed[$a_ref_id] = $a_ref_id;
181  }

◆ delete()

ilUserSearchCache::delete ( )

Delete user entries.

public

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

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

408  {
409  global $ilDB;
410 
411  $query = "DELETE FROM usr_search ".
412  "WHERE usr_id = ".$this->db->quote($this->usr_id ,'integer')." ".
413  "AND search_type = ".$this->db->quote($this->search_type ,'integer');
414  $res = $ilDB->manipulate($query);
415 
416  $this->read();
417  return true;
418  }
read()
Read user entries.
+ Here is the call graph for this function:

◆ deleteCachedEntries()

ilUserSearchCache::deleteCachedEntries ( )

delete cached entries

Parameters

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

References $query, $res, $row, DB_FETCHMODE_OBJECT, deleteCachedEntriesAnonymous(), isAnonymous(), and setResultPageNumber().

338  {
339  global $ilDB;
340 
341  if($this->isAnonymous())
342  {
343  return $this->deleteCachedEntriesAnonymous();
344  }
345 
346 
347  $query = "SELECT COUNT(*) num FROM usr_search ".
348  "WHERE usr_id = ".$ilDB->quote($this->usr_id,'integer')." ".
349  "AND search_type = ".$ilDB->quote($this->search_type,'integer');
350  $res = $ilDB->query($query);
351  $row = $res->fetchRow(DB_FETCHMODE_OBJECT);
352 
353  if($row->num > 0)
354  {
355  $ilDB->update('usr_search',
356  array(
357  'search_result' => array('clob',serialize(array(0))),
358  'checked' => array('clob',serialize(array(0))),
359  'failed' => array('clob',serialize(array(0))),
360  'page' => array('integer',0)),
361  array(
362  'usr_id' => array('integer',(int) $this->usr_id),
363  'search_type' => array('integer',(int) $this->search_type)
364  ));
365  }
366  else
367  {
368  $ilDB->insert('usr_search',
369  array(
370  'search_result' => array('clob',serialize(array(0))),
371  'checked' => array('clob',serialize(array(0))),
372  'failed' => array('clob',serialize(array(0))),
373  'page' => array('integer',0),
374  'usr_id' => array('integer',(int) $this->usr_id),
375  'search_type' => array('integer',(int) $this->search_type)
376  ));
377  }
378 
379  $this->setResultPageNumber(1);
380  $this->search_result = array();
381  $this->checked = array();
382  $this->failed = array();
383  }
deleteCachedEntriesAnonymous()
Delete cached entries for anonymous user.
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
isAnonymous()
Check if current user is anonymous user.
setResultPageNumber($a_number)
Set result page number.
+ Here is the call graph for this function:

◆ deleteCachedEntriesAnonymous()

ilUserSearchCache::deleteCachedEntriesAnonymous ( )

Delete cached entries for anonymous user.

Returns
bool

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

References setResultPageNumber().

Referenced by deleteCachedEntries().

390  {
391  $this->setResultPageNumber(1);
392  $this->search_result = array();
393  $this->checked = array();
394  $this->failed = array();
395 
396  return true;
397  }
setResultPageNumber($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 227 of file class.ilUserSearchCache.php.

228  {
229  return $this->checked ? $this->checked : array();
230  }

◆ getItemFilter()

ilUserSearchCache::getItemFilter ( )

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

References $item_filter.

Referenced by save(), and saveForAnonymous().

318  {
319  return (array) $this->item_filter;
320  }
+ Here is the caller graph for this function:

◆ getMimeFilter()

ilUserSearchCache::getMimeFilter ( )

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

References $mime_filter.

Referenced by save(), and saveForAnonymous().

328  {
329  return (array) $this->mime_filter;
330  }
+ Here is the caller graph for this function:

◆ getQuery()

ilUserSearchCache::getQuery ( )

get query

Returns

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

References $query.

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

273  {
274  return $this->query;
275  }
+ Here is the caller graph for this function:

◆ getResultPageNumber()

ilUserSearchCache::getResultPageNumber ( )

get result page number

public

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

253  {
254  return $this->page_number ? $this->page_number : 1;
255  }

◆ getResults()

ilUserSearchCache::getResults ( )

Get results.

public

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

140  {
141  return $this->search_result ? $this->search_result : array();
142  }

◆ getRoot()

ilUserSearchCache::getRoot ( )

get root node

Returns

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

Referenced by save(), and saveForAnonymous().

308  {
309  return $this->root ? $this->root : ROOT_FOLDER_ID;
310  }
+ Here is the caller graph for this function:

◆ getUrlEncodedQuery()

ilUserSearchCache::getUrlEncodedQuery ( )

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

Returns

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

References $query, and getQuery().

282  {
283  if(is_array($this->getQuery()))
284  {
285  $query = $this->getQuery();
286 
287  return urlencode(str_replace('"', '.', $query['lom_content']));
288  }
289  return urlencode(str_replace('"', '.', $this->getQuery()));
290  }
+ Here is the call graph for this function:

◆ isAnonymous()

ilUserSearchCache::isAnonymous ( )

Check if current user is anonymous user.

Returns
bool

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

References $isAnonymous.

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

114  {
115  return $this->isAnonymous;
116  }
+ Here is the caller graph for this function:

◆ isChecked()

ilUserSearchCache::isChecked (   $a_ref_id)

Check if reference was already checked.

public

Parameters
intref_id

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

216  {
217  return array_key_exists($a_ref_id,$this->checked) and $this->checked[$a_ref_id];
218  }

◆ isFailed()

ilUserSearchCache::isFailed (   $a_ref_id)

check if reference has failed access

public

Parameters
intref_id

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

191  {
192  return in_array($a_ref_id,$this->failed) ? true : false;
193  }

◆ read()

ilUserSearchCache::read ( )
private

Read user entries.

private

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

References $query, $res, $row, DB_FETCHMODE_OBJECT, isAnonymous(), readAnonymous(), setItemFilter(), setQuery(), and setRoot().

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

492  {
493  $this->failed = array();
494  $this->checked = array();
495  $this->search_result = array();
496  $this->page_number = 0;
497 
498  if($this->isAnonymous())
499  {
500  return $this->readAnonymous();
501  }
502 
503  $query = "SELECT * FROM usr_search ".
504  "WHERE usr_id = ".$this->db->quote($this->usr_id ,'integer')." ".
505  "AND search_type = ".$this->db->quote($this->search_type ,'integer');
506 
507  $res = $this->db->query($query);
508  while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
509  {
510  $this->search_result = unserialize(stripslashes($row->search_result));
511  if(strlen($row->checked))
512  {
513  $this->checked = unserialize(stripslashes($row->checked));
514  }
515  if(strlen($row->failed))
516  {
517  $this->failed = unserialize(stripslashes($row->failed));
518  }
519  $this->page_number = $row->page;
520  $this->setQuery(unserialize($row->query));
521  $this->setRoot($row->root);
522  $this->setItemFilter(unserialize($row->item_filter));
523  }
524  return true;
525  }
setQuery($a_query)
set query
readAnonymous()
Read from session for anonymous user.
const DB_FETCHMODE_OBJECT
Definition: class.ilDB.php:11
setRoot($a_root)
set root node of search
isAnonymous()
Check if current user is anonymous user.
+ 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 530 of file class.ilUserSearchCache.php.

References $_SESSION, $search_type, setItemFilter(), setMimeFilter(), setQuery(), and setRoot().

Referenced by read().

531  {
532  $this->search_result = (array) $_SESSION['usr_search_cache'][$this->search_type]['search_result'];
533  $this->checked = (array) $_SESSION['usr_search_cache'][$this->search_type]['checked'];
534  $this->failed = (array) $_SESSION['usr_search_cache'][$this->search_type]['failed'];
535  $this->page_number = $_SESSION['usr_search_cache'][$this->search_type]['page_number'];
536 
537  $this->setQuery($_SESSION['usr_search_cache'][$this->search_type]['query']);
538  $this->setRoot((string) $_SESSION['usr_search_cache'][$this->search_type]['root']);
539  $this->setItemFilter((array) $_SESSION['usr_search_cache'][$this->search_type]['item_filter']);
540  $this->setMimeFilter((array) $_SESSION['usr_search_cache'][$this->search_type]['mime_filter']);
541 
542  return true;
543  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']
setQuery($a_query)
set query
setRoot($a_root)
set root node of search
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilUserSearchCache::save ( )

Save entries.

public

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

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

427  {
428  global $ilDB,$ilLog;
429 
430  if($this->isAnonymous())
431  {
432  return $this->saveForAnonymous();
433  }
434 
435  $query = "DELETE FROM usr_search ".
436  "WHERE usr_id = ".$ilDB->quote($this->usr_id ,'integer')." ".
437  "AND ( search_type = ".$ilDB->quote($this->search_type ,'integer').' '.
438  "OR search_type = ".$ilDB->quote(self::LAST_QUERY,'integer'). ')';
439  $res = $ilDB->manipulate($query);
440 
441  $ilDB->insert('usr_search',array(
442  'usr_id' => array('integer',(int) $this->usr_id),
443  'search_result' => array('clob',serialize($this->search_result)),
444  'checked' => array('clob',serialize($this->checked)),
445  'failed' => array('clob',serialize($this->failed)),
446  'page' => array('integer',(int) $this->page_number),
447  'search_type' => array('integer',(int) $this->search_type),
448  'query' => array('clob',serialize($this->getQuery())),
449  'root' => array('integer',$this->getRoot()),
450  'item_filter' => array('text',serialize($this->getItemFilter())),
451  'mime_filter' => array('text', serialize($this->getMimeFilter()))
452  ));
453 
454 
455  // Write last query information
456  $ilDB->insert('usr_search',
457  array(
458  'usr_id' => array('integer',$this->usr_id),
459  'search_type' => array('integer',self::LAST_QUERY),
460  'query' => array('text',serialize($this->getQuery()))
461  )
462  );
463  }
isAnonymous()
Check if current user is anonymous user.
+ Here is the call graph for this function:

◆ saveForAnonymous()

ilUserSearchCache::saveForAnonymous ( )

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

References $_SESSION, $checked, $failed, $page_number, $search_result, $search_type, getItemFilter(), getMimeFilter(), getQuery(), and getRoot().

Referenced by save().

466  {
467  unset($_SESSION['usr_search_cache']);
468 
469  $_SESSION['usr_search_cache'][$this->search_type]['search_result'] = $this->search_result;
470  $_SESSION['usr_search_cache'][$this->search_type]['checked'] = $this->checked;
471  $_SESSION['usr_search_cache'][$this->search_type]['failed'] = $this->failed;
472  $_SESSION['usr_search_cache'][$this->search_type]['page'] = $this->page_number;
473  $_SESSION['usr_search_cache'][$this->search_type]['query'] = $this->getQuery();
474  $_SESSION['usr_search_cache'][$this->search_type]['root'] = $this->getRoot();
475  $_SESSION['usr_search_cache'][$this->search_type]['item_filter'] = $this->getItemFilter();
476  $_SESSION['usr_search_cache'][$this->search_type]['mime_filter'] = $this->getMimeFilter();
477 
478  $_SESSION['usr_search_cache'][self::LAST_QUERY]['query'] = $this->getQuery();
479 
480  return true;
481 
482  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setItemFilter()

ilUserSearchCache::setItemFilter (   $a_filter)

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

Referenced by read(), and readAnonymous().

313  {
314  $this->item_filter = $a_filter;
315  }
+ Here is the caller graph for this function:

◆ setMimeFilter()

ilUserSearchCache::setMimeFilter (   $a_filter)

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

Referenced by readAnonymous().

323  {
324  $this->mime_filter = $a_filter;
325  }
+ Here is the caller graph for this function:

◆ setQuery()

ilUserSearchCache::setQuery (   $a_query)

set query

Parameters
mixedquery string or array (for advanced search)
Returns

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

Referenced by read(), and readAnonymous().

263  {
264  $this->query = $a_query;
265  }
+ Here is the caller graph for this function:

◆ setResultPageNumber()

ilUserSearchCache::setResultPageNumber (   $a_number)

Set result page number.

public

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

Referenced by deleteCachedEntries(), and deleteCachedEntriesAnonymous().

239  {
240  if($a_number)
241  {
242  $this->page_number = $a_number;
243  }
244  }
+ Here is the caller graph for this function:

◆ setResults()

ilUserSearchCache::setResults (   $a_results)

Set results.

public

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

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

152  {
153  $this->search_result = $a_results;
154  }

◆ setRoot()

ilUserSearchCache::setRoot (   $a_root)

set root node of search

Parameters
introot id
Returns

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

Referenced by read(), and readAnonymous().

298  {
299  $this->root = $a_root;
300  }
+ Here is the caller graph for this function:

◆ switchSearchType()

ilUserSearchCache::switchSearchType (   $a_type)

switch to search type reads entries from database

public

Parameters
intsearch type

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

References read().

127  {
128  $this->search_type = $a_type;
129  $this->read();
130  return true;
131  }
read()
Read user entries.
+ Here is the call graph for this function:

Field Documentation

◆ $checked

ilUserSearchCache::$checked = array()
private

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

Referenced by saveForAnonymous().

◆ $db

ilUserSearchCache::$db
private

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

◆ $failed

ilUserSearchCache::$failed = array()
private

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

Referenced by saveForAnonymous().

◆ $instance

ilUserSearchCache::$instance = null
staticprivate

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

◆ $isAnonymous

ilUserSearchCache::$isAnonymous = false
private

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

Referenced by isAnonymous().

◆ $item_filter

ilUserSearchCache::$item_filter = array()
private

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

Referenced by getItemFilter().

◆ $mime_filter

ilUserSearchCache::$mime_filter = array()
private

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

Referenced by getMimeFilter().

◆ $page_number

ilUserSearchCache::$page_number = 1
private

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

Referenced by saveForAnonymous().

◆ $query

ilUserSearchCache::$query
private

◆ $root

ilUserSearchCache::$root = ROOT_FOLDER_ID
private

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

◆ $search_result

ilUserSearchCache::$search_result = array()
private

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

Referenced by saveForAnonymous().

◆ $search_type

ilUserSearchCache::$search_type = self::DEFAULT_SEARCH
private

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

Referenced by readAnonymous(), and saveForAnonymous().

◆ $usr_id

ilUserSearchCache::$usr_id
private

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

◆ ADVANCED_MD_SEARCH

const ilUserSearchCache::ADVANCED_MD_SEARCH = 4

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

Referenced by ilAdvancedSearchGUI\initSearchType().

◆ ADVANCED_SEARCH

const ilUserSearchCache::ADVANCED_SEARCH = 1

◆ DEFAULT_SEARCH

const ilUserSearchCache::DEFAULT_SEARCH = 0

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

Referenced by ilSearchGUI\initUserSearchCache().

◆ LAST_QUERY

const ilUserSearchCache::LAST_QUERY = 7

◆ LUCENE_ADVANCED

const ilUserSearchCache::LUCENE_ADVANCED = 6

◆ LUCENE_DEFAULT

const ilUserSearchCache::LUCENE_DEFAULT = 5

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

Referenced by ilLuceneSearchGUI\initUserSearchCache().

◆ LUCENE_USER_SEARCH

const ilUserSearchCache::LUCENE_USER_SEARCH = 8

◆ SHOP_ADVANCED_SEARCH

const ilUserSearchCache::SHOP_ADVANCED_SEARCH = 3

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

◆ SHOP_CONTENT

const ilUserSearchCache::SHOP_CONTENT = 2

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


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