ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
ilSearchResult Class Reference
+ Inheritance diagram for ilSearchResult:
+ Collaboration diagram for ilSearchResult:

Public Member Functions

 ilSearchResult ($a_user_id=0)
 Constructor public. More...
 
 setRequiredPermission ($a_permission)
 Set the required permission for the rbac checks in function 'filter()'. More...
 
 getRequiredPermission ()
 
 setUserId ($a_user_id)
 
 getUserId ()
 
 getEntries ()
 
 isLimitReached ()
 
 setMaxHits ($a_max_hits)
 
 getMaxHits ()
 
 isOffsetReached ($a_counter)
 Check if offset is reached. More...
 
 addEntry ($a_obj_id, $a_type, $found, $a_child_id=0)
 add search result entry Entries are stored with 'obj_id'. More...
 
 numEntries ()
 Check number of entries public. More...
 
 mergeEntries (&$result_obj)
 merge entries of this instance and another result object More...
 
 diffEntriesFromResult (&$result_obj)
 diff entries of this instance and another result object Used for search in results More...
 
 intersectEntries (&$result_obj)
 Build intersection of entries (all entries that are present in both result sets) More...
 
 addResult ($a_ref_id, $a_obj_id, $a_type)
 add search result Results are stored with 'ref_id'. More...
 
 getResults ()
 
 getResultIds ()
 get result ids More...
 
 getResultsByObjId ()
 
 getUniqueResults ()
 Get unique results. More...
 
 getResultsForPresentation ()
 
 getSubitemIds ()
 
 filter ($a_root_node, $check_and)
 Filter search result. More...
 
 filterResults ($a_root_node)
 Filter search area of result set public. More...
 
 save ($a_type=DEFAULT_SEARCH)
 Save search results. More...
 
 read ($a_type=DEFAULT_SEARCH)
 read search results More...
 
 __updateEntryChilds ($a_obj_id, $a_childs)
 Update childs for a specific entry. More...
 
 __updateResultChilds ($a_ref_id, $a_childs)
 Update childs for a specific result. More...
 
 __initSearchSettingsObject ()
 
 preventOverwritingMaxhits ($a_flag=null)
 If you call this function and pass "true" the maxhits setting will not be overwritten in __initSearchSettingsObject() More...
 
 addObserver (&$a_class, $a_method)
 The observer is used to call functions for filtering result. More...
 
 callListeners ($a_ref_id, &$a_data)
 

Data Fields

 $permission = 'visible'
 
 $user_id
 
 $entries = array()
 
 $results = array()
 
 $observers = array()
 
 $ilias
 
 $ilAccess
 
 $limit_reached = false
 
 $result
 

Protected Member Functions

 initUserSearchCache ()
 Init user search cache. More...
 

Protected Attributes

 $search_cache = null
 
 $offset = 0
 
 $preventOverwritingMaxhits = false
 

Detailed Description

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

Member Function Documentation

◆ __initSearchSettingsObject()

ilSearchResult::__initSearchSettingsObject ( )

Definition at line 553 of file class.ilSearchResult.php.

References preventOverwritingMaxhits(), and setMaxHits().

Referenced by ilSearchResult().

554  {
555  include_once 'Services/Search/classes/class.ilSearchSettings.php';
556 
557  $this->search_settings = new ilSearchSettings();
558  if(!$this->preventOverwritingMaxhits())
559  $this->setMaxHits($this->search_settings->getMaxHits());
560  }
preventOverwritingMaxhits($a_flag=null)
If you call this function and pass "true" the maxhits setting will not be overwritten in __initSearch...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __updateEntryChilds()

ilSearchResult::__updateEntryChilds (   $a_obj_id,
  $a_childs 
)

Update childs for a specific entry.

Parameters
integerobject object_id
arrayarray of child ids. E.g 'pg', 'st' private

Definition at line 516 of file class.ilSearchResult.php.

Referenced by diffEntriesFromResult(), intersectEntries(), and mergeEntries().

517  {
518  if($this->entries[$a_obj_id] and is_array($a_childs))
519  {
520  foreach($a_childs as $child_id)
521  {
522  if($child_id)
523  {
524  $this->entries[$a_obj_id]['child'][$child_id] = $child_id;
525  }
526  }
527  return true;
528  }
529  return false;
530  }
+ Here is the caller graph for this function:

◆ __updateResultChilds()

ilSearchResult::__updateResultChilds (   $a_ref_id,
  $a_childs 
)

Update childs for a specific result.

Parameters
integerobject ref_id
arrayarray of child ids. E.g 'pg', 'st' private

Definition at line 538 of file class.ilSearchResult.php.

Referenced by ilShopSearchResult\filter(), filter(), and filterResults().

539  {
540  if($this->results[$a_ref_id] and is_array($a_childs))
541  {
542  foreach($a_childs as $child_id)
543  {
544  $this->results[$a_ref_id]['child'][$child_id] = $child_id;
545  }
546  return true;
547  }
548  return false;
549  }
+ Here is the caller graph for this function:

◆ addEntry()

ilSearchResult::addEntry (   $a_obj_id,
  $a_type,
  $found,
  $a_child_id = 0 
)

add search result entry Entries are stored with 'obj_id'.

This method is typically called to store db query results.

Parameters
integerobject object_id
stringobj_type 'lm' or 'crs' ...
arrayvalue position of query parser words in query string
integerchild id e.g id of page or chapter public

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

Referenced by diffEntriesFromResult(), intersectEntries(), and mergeEntries().

152  {
153  // Create new entry if it not exists
154  if(!$this->entries[$a_obj_id])
155  {
156  $this->entries[$a_obj_id]['obj_id'] = $a_obj_id;
157  $this->entries[$a_obj_id]['type'] = $a_type;
158  $this->entries[$a_obj_id]['found'] = $found;
159 
160  if($a_child_id and $a_child_id != $a_obj_id)
161  {
162  $this->entries[$a_obj_id]['child'][$a_child_id] = $a_child_id;
163  }
164  }
165  else
166  {
167  // replace or add child ('pg','st') id
168  if($a_child_id and $a_child_id != $a_obj_id)
169  {
170  $this->entries[$a_obj_id]['child'][$a_child_id] = $a_child_id;
171  }
172 
173  // UPDATE FOUND
174  $counter = 0;
175  foreach($found as $position)
176  {
177  if($position)
178  {
179  $this->entries[$a_obj_id]['found'][$counter] = $position;
180  }
181  $counter++;
182  }
183  }
184  return true;
185  }
+ Here is the caller graph for this function:

◆ addObserver()

ilSearchResult::addObserver ( $a_class,
  $a_method 
)

The observer is used to call functions for filtering result.

Every callback function should support the following parameters: array of ids. E.g: ref_id = 5,array(obj_id = 1,type = 'crs'), The function should return true or false.

Parameters
objectclass of callback function
stringname of callback method public

Definition at line 605 of file class.ilSearchResult.php.

606  {
607  $this->observers[] = array('class' => $a_class,
608  'method' => $a_method);
609  return true;
610  }

◆ addResult()

ilSearchResult::addResult (   $a_ref_id,
  $a_obj_id,
  $a_type 
)

add search result Results are stored with 'ref_id'.

This method is typically called after checking access of entries.

Parameters
integerref_id
integerobj_id
stringobj_type 'lm' or 'crs' ... public

Definition at line 275 of file class.ilSearchResult.php.

Referenced by ilShopSearchResult\filter(), filter(), and filterResults().

276  {
277  $this->results[$a_ref_id]['ref_id'] = $a_ref_id;
278  $this->results[$a_ref_id]['obj_id'] = $a_obj_id;
279  $this->results[$a_ref_id]['type'] = $a_type;
280  }
+ Here is the caller graph for this function:

◆ callListeners()

ilSearchResult::callListeners (   $a_ref_id,
$a_data 
)

Definition at line 611 of file class.ilSearchResult.php.

Referenced by ilShopSearchResult\filter(), and filter().

612  {
613  foreach($this->observers as $observer)
614  {
615  $class =& $observer['class'];
616  $method = $observer['method'];
617 
618  if(!$class->$method($a_ref_id,$a_data))
619  {
620  return false;
621  }
622  }
623  return true;
624  }
+ Here is the caller graph for this function:

◆ diffEntriesFromResult()

ilSearchResult::diffEntriesFromResult ( $result_obj)

diff entries of this instance and another result object Used for search in results

Parameters
objectresult_obj public

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

References $ref_id, __updateEntryChilds(), addEntry(), and getEntries().

221  {
222  $new_entries = $this->getEntries();
223  $this->entries = array();
224 
225  // Get all checked objects
226  foreach($this->search_cache->getCheckedItems() as $ref_id => $obj_id)
227  {
228  if(isset($new_entries[$obj_id]))
229  {
230  $this->addEntry($new_entries[$obj_id]['obj_id'],
231  $new_entries[$obj_id]['type'],
232  $new_entries[$obj_id]['found']);
233  $this->__updateEntryChilds($new_entries[$obj_id]['obj_id'],
234  $new_entries[$obj_id]['child']);
235  }
236  }
237  }
addEntry($a_obj_id, $a_type, $found, $a_child_id=0)
add search result entry Entries are stored with 'obj_id'.
__updateEntryChilds($a_obj_id, $a_childs)
Update childs for a specific entry.
$ref_id
Definition: sahs_server.php:39
+ Here is the call graph for this function:

◆ filter()

ilSearchResult::filter (   $a_root_node,
  $check_and 
)

Filter search result.

Do RBAC checks.

Allows paging of results for referenced objects

public

Parameters
introot node id
boolcheck and boolean search
Returns
bool success status

Definition at line 369 of file class.ilSearchResult.php.

References $ref_id, __updateResultChilds(), ilObject\_getAllReferences(), ilObject\_lookupType(), addResult(), callListeners(), getEntries(), getMaxHits(), getRequiredPermission(), and isOffsetReached().

370  {
371  global $tree;
372 
373  // get ref_ids and check access
374  $counter = 0;
375  $offset_counter = 0;
376  foreach($this->getEntries() as $entry)
377  {
378  // boolean and failed continue
379  if($check_and and in_array(0,$entry['found']))
380  {
381  continue;
382  }
383  // Types like role, rolt, user do not need rbac checks
384  $type = ilObject::_lookupType($entry['obj_id']);
385  if($type == 'rolt' or $type == 'usr' or $type == 'role')
386  {
387  if($this->callListeners($entry['obj_id'],$entry))
388  {
389  $this->addResult($entry['obj_id'],$entry['obj_id'],$type);
390  $counter += count($entry['child']);
391  // Stop if maximum of hits is reached
392  if(++$counter > $this->getMaxHits())
393  {
394  $this->limit_reached = true;
395  return true;
396  }
397  }
398  continue;
399  }
400  // Check referenced objects
401  foreach(ilObject::_getAllReferences($entry['obj_id']) as $ref_id)
402  {
403  // Failed check: if ref id check is failed by previous search
404  if($this->search_cache->isFailed($ref_id))
405  {
406  continue;
407  }
408  // Offset check
409  if($this->search_cache->isChecked($ref_id) and !$this->isOffsetReached($offset_counter))
410  {
411  ++$offset_counter;
412  continue;
413  }
414 
415  if(!$this->callListeners($ref_id, $entry))
416  {
417  continue;
418  }
419 
420 
421 
422  // RBAC check
423  $type = ilObject::_lookupType($ref_id, true);
424  if($this->ilAccess->checkAccessOfUser($this->getUserId(),
425  $this->getRequiredPermission(),
426  '',
427  $ref_id,
428  $type,
429  $entry['obj_id']))
430  {
431  if($a_root_node == ROOT_FOLDER_ID or $tree->isGrandChild($a_root_node,$ref_id))
432  {
433  // Call listeners
434  #if($this->callListeners($ref_id,$entry))
435  if(1)
436  {
437  $this->addResult($ref_id,$entry['obj_id'],$type);
438  $this->search_cache->appendToChecked($ref_id,$entry['obj_id']);
439  $this->__updateResultChilds($ref_id,$entry['child']);
440 
441  $counter++;
442  $offset_counter++;
443  // Stop if maximum of hits is reached
444 
445  if($counter >= $this->getMaxHits())
446  {
447  $this->limit_reached = true;
448  $this->search_cache->setResults($this->results);
449  return true;
450  }
451  }
452  }
453  continue;
454  }
455  $this->search_cache->appendToFailed($ref_id);
456  }
457  }
458  $this->search_cache->setResults($this->results);
459  return false;
460  }
isOffsetReached($a_counter)
Check if offset is reached.
static _getAllReferences($a_id)
get all reference ids of object
__updateResultChilds($a_ref_id, $a_childs)
Update childs for a specific result.
addResult($a_ref_id, $a_obj_id, $a_type)
add search result Results are stored with 'ref_id'.
static _lookupType($a_id, $a_reference=false)
lookup object type
$ref_id
Definition: sahs_server.php:39
callListeners($a_ref_id, &$a_data)
+ Here is the call graph for this function:

◆ filterResults()

ilSearchResult::filterResults (   $a_root_node)

Filter search area of result set public.

Definition at line 467 of file class.ilSearchResult.php.

References __updateResultChilds(), addResult(), and getResults().

468  {
469  global $tree;
470 
471  $tmp_results = $this->getResults();
472  $this->results = array();
473  foreach($tmp_results as $result)
474  {
475  if($tree->isGrandChild($a_root_node,$result['ref_id']) and $tree->isInTree($result['ref_id']))
476  {
477  $this->addResult($result['ref_id'],$result['obj_id'],$result['type']);
478  $this->__updateResultChilds($result['ref_id'],$result['child']);
479  }
480  }
481 
482  return true;
483  }
__updateResultChilds($a_ref_id, $a_childs)
Update childs for a specific result.
addResult($a_ref_id, $a_obj_id, $a_type)
add search result Results are stored with 'ref_id'.
+ Here is the call graph for this function:

◆ getEntries()

ilSearchResult::getEntries ( )

Definition at line 110 of file class.ilSearchResult.php.

Referenced by diffEntriesFromResult(), ilShopSearchResult\diffEntriesFromResult(), ilShopSearchResult\filter(), filter(), intersectEntries(), and numEntries().

111  {
112  return $this->entries ? $this->entries : array();
113  }
+ Here is the caller graph for this function:

◆ getMaxHits()

ilSearchResult::getMaxHits ( )

Definition at line 124 of file class.ilSearchResult.php.

Referenced by filter(), ilShopSearchResult\getResultsForPresentation(), and initUserSearchCache().

125  {
126  return $this->max_hits;
127  }
+ Here is the caller graph for this function:

◆ getRequiredPermission()

ilSearchResult::getRequiredPermission ( )

Definition at line 95 of file class.ilSearchResult.php.

References $permission.

Referenced by ilShopSearchResult\filter(), and filter().

96  {
97  return $this->permission;
98  }
+ Here is the caller graph for this function:

◆ getResultIds()

ilSearchResult::getResultIds ( )

get result ids

public

Returns
array result ids

Definition at line 293 of file class.ilSearchResult.php.

References getResults().

294  {
295  foreach($this->getResults() as $id => $tmp)
296  {
297  $ids[] = $id;
298  }
299  return $ids ? $ids : array();
300  }
+ Here is the call graph for this function:

◆ getResults()

ilSearchResult::getResults ( )

Definition at line 282 of file class.ilSearchResult.php.

Referenced by filterResults(), getResultIds(), getResultsByObjId(), ilShopSearchResult\getResultsForPresentation(), getResultsForPresentation(), and getSubitemIds().

283  {
284  return $this->results ? $this->results : array();
285  }
+ Here is the caller graph for this function:

◆ getResultsByObjId()

ilSearchResult::getResultsByObjId ( )

Definition at line 302 of file class.ilSearchResult.php.

References $ref_id, and getResults().

303  {
304  $tmp_res = array();
305  foreach($this->getResults() as $ref_id => $res_data)
306  {
307  $tmp_res[$res_data['obj_id']][] = $ref_id;
308  }
309  return $tmp_res ? $tmp_res : array();
310  }
$ref_id
Definition: sahs_server.php:39
+ Here is the call graph for this function:

◆ getResultsForPresentation()

ilSearchResult::getResultsForPresentation ( )

Definition at line 334 of file class.ilSearchResult.php.

References $res, and getResults().

335  {
336  $res = array();
337 
338  foreach($this->getResults() as $result)
339  {
340  $res[$result['ref_id']] = $result['obj_id'];
341  }
342  return $res;
343  }
+ Here is the call graph for this function:

◆ getSubitemIds()

ilSearchResult::getSubitemIds ( )

Definition at line 345 of file class.ilSearchResult.php.

References $res, $row, and getResults().

346  {
347  $res = array();
348  foreach($this->getResults() as $row)
349  {
350  $res[$row['obj_id']] = $row['child'];
351  }
352  return $res ? $res : array();
353  }
+ Here is the call graph for this function:

◆ getUniqueResults()

ilSearchResult::getUniqueResults ( )

Get unique results.

Return an array of obj_id (No multiple results for references) Results are stored with 'ref_id'. This method is typically called after checking access of entries. public

Definition at line 319 of file class.ilSearchResult.php.

References $result.

320  {
321  $obj_ids = array();
322  foreach($this->results as $result)
323  {
324  if(in_array($result['obj_id'],$obj_ids))
325  {
326  continue;
327  }
328  $obj_ids[] = $result['obj_id'];
329  $objects[] = $result;
330  }
331  return $objects ? $objects : array();
332  }

◆ getUserId()

ilSearchResult::getUserId ( )

Definition at line 105 of file class.ilSearchResult.php.

References $user_id.

Referenced by initUserSearchCache().

106  {
107  return $this->user_id;
108  }
+ Here is the caller graph for this function:

◆ ilSearchResult()

ilSearchResult::ilSearchResult (   $a_user_id = 0)

Constructor public.

Definition at line 68 of file class.ilSearchResult.php.

References $ilAccess, $ilDB, $ilias, $ilUser, __initSearchSettingsObject(), and initUserSearchCache().

69  {
71 
72  $this->ilAccess =& $ilAccess;
73  if($a_user_id)
74  {
75  $this->user_id = $a_user_id;
76  }
77  else
78  {
79  $this->user_id = $ilUser->getId();
80  }
82  $this->initUserSearchCache();
83 
84  $this->db =& $ilDB;
85  }
initUserSearchCache()
Init user search cache.
global $ilUser
Definition: imgupload.php:15
global $ilDB
+ Here is the call graph for this function:

◆ initUserSearchCache()

ilSearchResult::initUserSearchCache ( )
protected

Init user search cache.

private

Definition at line 568 of file class.ilSearchResult.php.

References ilUserSearchCache\_getInstance(), getMaxHits(), and getUserId().

Referenced by ilSearchResult().

569  {
570  include_once('Services/Search/classes/class.ilUserSearchCache.php');
571  $this->search_cache = ilUserSearchCache::_getInstance($this->getUserId());
572  $this->offset = $this->getMaxHits() * ($this->search_cache->getResultPageNumber() - 1) ;
573  }
static _getInstance($a_usr_id)
Get singleton instance.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ intersectEntries()

ilSearchResult::intersectEntries ( $result_obj)

Build intersection of entries (all entries that are present in both result sets)

Parameters
objectresult_obj public

Definition at line 245 of file class.ilSearchResult.php.

References __updateEntryChilds(), addEntry(), and getEntries().

246  {
247  $new_entries = $this->getEntries();
248  $this->entries = array();
249 
250  foreach($result_obj->getEntries() as $entry)
251  {
252  $obj_id = $entry['obj_id'];
253  if(isset($new_entries[$obj_id]))
254  {
255  $this->addEntry($new_entries[$obj_id]['obj_id'],
256  $new_entries[$obj_id]['type'],
257  $new_entries[$obj_id]['found']);
258 
259  $this->__updateEntryChilds($new_entries[$obj_id]['obj_id'],
260  $new_entries[$obj_id]['child']);
261  }
262  }
263  }
addEntry($a_obj_id, $a_type, $found, $a_child_id=0)
add search result entry Entries are stored with 'obj_id'.
__updateEntryChilds($a_obj_id, $a_childs)
Update childs for a specific entry.
+ Here is the call graph for this function:

◆ isLimitReached()

ilSearchResult::isLimitReached ( )

Definition at line 115 of file class.ilSearchResult.php.

116  {
117  return $this->limit_reached ? true : false;
118  }

◆ isOffsetReached()

ilSearchResult::isOffsetReached (   $a_counter)

Check if offset is reached.

public

Parameters
intcurrent counter of result
Returns
bool reached or not

Definition at line 136 of file class.ilSearchResult.php.

Referenced by filter().

137  {
138  return ($a_counter < $this->offset) ? false : true;
139  }
+ Here is the caller graph for this function:

◆ mergeEntries()

ilSearchResult::mergeEntries ( $result_obj)

merge entries of this instance and another result object

Parameters
objectresult_obj public

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

References __updateEntryChilds(), and addEntry().

204  {
205  foreach($result_obj->getEntries() as $entry)
206  {
207  $this->addEntry($entry['obj_id'],$entry['type'],$entry['found']);
208  $this->__updateEntryChilds($entry['obj_id'],$entry['child']);
209  }
210  return true;
211  }
addEntry($a_obj_id, $a_type, $found, $a_child_id=0)
add search result entry Entries are stored with &#39;obj_id&#39;.
__updateEntryChilds($a_obj_id, $a_childs)
Update childs for a specific entry.
+ Here is the call graph for this function:

◆ numEntries()

ilSearchResult::numEntries ( )

Check number of entries public.

Definition at line 192 of file class.ilSearchResult.php.

References getEntries().

193  {
194  return count($this->getEntries());
195  }
+ Here is the call graph for this function:

◆ preventOverwritingMaxhits()

ilSearchResult::preventOverwritingMaxhits (   $a_flag = null)

If you call this function and pass "true" the maxhits setting will not be overwritten in __initSearchSettingsObject()

public

Parameters
boolean$a_flagtrue or false to set the flag or leave blank to get the status of the flag boolean if called without parameter the status of the flag will be returned, otherwise $this

Definition at line 584 of file class.ilSearchResult.php.

References $preventOverwritingMaxhits.

Referenced by __initSearchSettingsObject().

585  {
586  if(null === $a_flag)
587  {
589  }
590 
591  $this->preventOverwritingMaxhits = $a_flag;
592 
593  return $this;
594  }
preventOverwritingMaxhits($a_flag=null)
If you call this function and pass "true" the maxhits setting will not be overwritten in __initSearch...
+ Here is the caller graph for this function:

◆ read()

ilSearchResult::read (   $a_type = DEFAULT_SEARCH)

read search results

Parameters
integerDEFAULT_SEARCH or ADVANCED_SEARCH public

Definition at line 503 of file class.ilSearchResult.php.

Referenced by ilAdvancedSearchGUI\performAdvMDSearch(), ilAdvancedSearchGUI\performSearch(), ilSearchGUI\performSearch(), ilAdvancedSearchGUI\showSavedAdvMDResults(), ilSearchGUI\showSavedResults(), and ilAdvancedSearchGUI\showSavedResults().

504  {
505  $this->results = $this->search_cache->getResults();
506  }
+ Here is the caller graph for this function:

◆ save()

ilSearchResult::save (   $a_type = DEFAULT_SEARCH)

Save search results.

Parameters
integerDEFAULT_SEARCH or ADVANCED_SEARCH public

Definition at line 492 of file class.ilSearchResult.php.

493  {
494  $this->search_cache->save();
495  return false;
496  }

◆ setMaxHits()

ilSearchResult::setMaxHits (   $a_max_hits)

Definition at line 120 of file class.ilSearchResult.php.

Referenced by ilShopSearchResult\__initSearchSettingsObject(), and __initSearchSettingsObject().

121  {
122  $this->max_hits = $a_max_hits;
123  }
+ Here is the caller graph for this function:

◆ setRequiredPermission()

ilSearchResult::setRequiredPermission (   $a_permission)

Set the required permission for the rbac checks in function 'filter()'.

Definition at line 90 of file class.ilSearchResult.php.

91  {
92  $this->permission = $a_permission;
93  }

◆ setUserId()

ilSearchResult::setUserId (   $a_user_id)

Definition at line 101 of file class.ilSearchResult.php.

102  {
103  $this->user_id = $a_user_id;
104  }

Field Documentation

◆ $entries

ilSearchResult::$entries = array()

Definition at line 47 of file class.ilSearchResult.php.

◆ $ilAccess

ilSearchResult::$ilAccess

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

Referenced by ilSearchResult().

◆ $ilias

ilSearchResult::$ilias

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

Referenced by ilSearchResult().

◆ $limit_reached

ilSearchResult::$limit_reached = false

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

◆ $observers

ilSearchResult::$observers = array()

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

◆ $offset

ilSearchResult::$offset = 0
protected

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

◆ $permission

ilSearchResult::$permission = 'visible'

Definition at line 44 of file class.ilSearchResult.php.

Referenced by getRequiredPermission().

◆ $preventOverwritingMaxhits

ilSearchResult::$preventOverwritingMaxhits = false
protected

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

Referenced by preventOverwritingMaxhits().

◆ $result

ilSearchResult::$result

◆ $results

ilSearchResult::$results = array()

◆ $search_cache

ilSearchResult::$search_cache = null
protected

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

◆ $user_id

ilSearchResult::$user_id

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

Referenced by getUserId().


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