ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilSearchResult Class Reference
+ Collaboration diagram for ilSearchResult:

Public Member Functions

 __construct ($a_user_id=0)
 Constructor @access 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 @access 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 @access 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 40 of file class.ilSearchResult.php.

Constructor & Destructor Documentation

◆ __construct()

ilSearchResult::__construct (   $a_user_id = 0)

Constructor @access public.

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

67 {
68 global $DIC;
69
70 $ilias = $DIC['ilias'];
71 $ilAccess = $DIC['ilAccess'];
72 $ilDB = $DIC['ilDB'];
73 $ilUser = $DIC['ilUser'];
74
75 $this->ilAccess = $ilAccess;
76 if ($a_user_id) {
77 $this->user_id = $a_user_id;
78 } else {
79 $this->user_id = $ilUser->getId();
80 }
82 $this->initUserSearchCache();
83
84 $this->db = $ilDB;
85 }
Class ilAccessHandler.
initUserSearchCache()
Init user search cache.
global $DIC
Definition: saml.php:7
global $ilDB
$ilUser
Definition: imgupload.php:18

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

+ Here is the call graph for this function:

Member Function Documentation

◆ __initSearchSettingsObject()

ilSearchResult::__initSearchSettingsObject ( )

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

533 {
534 include_once 'Services/Search/classes/class.ilSearchSettings.php';
535
536 $this->search_settings = new ilSearchSettings();
537 if (!$this->preventOverwritingMaxhits()) {
538 $this->setMaxHits($this->search_settings->getMaxHits());
539 }
540 }
preventOverwritingMaxhits($a_flag=null)
If you call this function and pass "true" the maxhits setting will not be overwritten in __initSearch...

References preventOverwritingMaxhits(), and setMaxHits().

Referenced by __construct().

+ 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' @access private

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

501 {
502 if ($this->entries[$a_obj_id] and is_array($a_childs)) {
503 foreach ($a_childs as $child_id) {
504 if ($child_id) {
505 $this->entries[$a_obj_id]['child'][$child_id] = $child_id;
506 }
507 }
508 return true;
509 }
510 return false;
511 }

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

+ 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' @access private

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

520 {
521 if ($this->results[$a_ref_id] and is_array($a_childs)) {
522 foreach ($a_childs as $child_id) {
523 $this->results[$a_ref_id]['child'][$child_id] = $child_id;
524 }
525 return true;
526 }
527 return false;
528 }

Referenced by filter(), and filterResults().

+ 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 @access public

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

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

References $a_type.

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

+ 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 @access public

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

585 {
586 $this->observers[] = array('class' => $a_class,
587 'method' => $a_method);
588 return true;
589 }

◆ 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' ... @access public

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

273 {
274 $this->results[$a_ref_id]['ref_id'] = $a_ref_id;
275 $this->results[$a_ref_id]['obj_id'] = $a_obj_id;
276 $this->results[$a_ref_id]['type'] = $a_type;
277 }

References $a_type.

Referenced by filter(), and filterResults().

+ Here is the caller graph for this function:

◆ callListeners()

ilSearchResult::callListeners (   $a_ref_id,
$a_data 
)

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

591 {
592 foreach ($this->observers as $observer) {
593 $class = &$observer['class'];
594 $method = $observer['method'];
595
596 if (!$class->$method($a_ref_id, $a_data)) {
597 return false;
598 }
599 }
600 return true;
601 }

Referenced by filter().

+ 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 @access public

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

214 {
215 $new_entries = $this->getEntries();
216 $this->entries = array();
217
218 // Get all checked objects
219 foreach ($this->search_cache->getCheckedItems() as $ref_id => $obj_id) {
220 if (isset($new_entries[$obj_id])) {
221 $this->addEntry(
222 $new_entries[$obj_id]['obj_id'],
223 $new_entries[$obj_id]['type'],
224 $new_entries[$obj_id]['found']
225 );
226 $this->__updateEntryChilds(
227 $new_entries[$obj_id]['obj_id'],
228 $new_entries[$obj_id]['child']
229 );
230 }
231 }
232 }
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.

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

+ 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

@access public

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

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

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

References $DIC, $tree, $type, __updateResultChilds(), ilObject\_getAllReferences(), ilObject\_lookupType(), addResult(), callListeners(), ilAccess\checkAccessOfUser(), getEntries(), and getMaxHits().

+ Here is the call graph for this function:

◆ filterResults()

ilSearchResult::filterResults (   $a_root_node)

Filter search area of result set @access public.

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

452 {
453 global $DIC;
454
455 $tree = $DIC['tree'];
456
457 $tmp_results = $this->getResults();
458 $this->results = array();
459 foreach ($tmp_results as $result) {
460 if ($tree->isGrandChild($a_root_node, $result['ref_id']) and $tree->isInTree($result['ref_id'])) {
461 $this->addResult($result['ref_id'], $result['obj_id'], $result['type']);
462 $this->__updateResultChilds($result['ref_id'], $result['child']);
463 }
464 }
465
466 return true;
467 }

References $DIC, $result, $tree, __updateResultChilds(), addResult(), and getResults().

+ Here is the call graph for this function:

◆ getEntries()

ilSearchResult::getEntries ( )

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

111 {
112 return $this->entries ? $this->entries : array();
113 }

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

+ Here is the caller graph for this function:

◆ getMaxHits()

ilSearchResult::getMaxHits ( )

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

125 {
126 return $this->max_hits;
127 }

Referenced by filter(), and initUserSearchCache().

+ Here is the caller graph for this function:

◆ getRequiredPermission()

ilSearchResult::getRequiredPermission ( )

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

96 {
97 return $this->permission;
98 }

References $permission.

◆ getResultIds()

ilSearchResult::getResultIds ( )

get result ids

@access public

Returns
array result ids

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

291 {
292 foreach ($this->getResults() as $id => $tmp) {
293 $ids[] = $id;
294 }
295 return $ids ? $ids : array();
296 }
if(!array_key_exists('StateId', $_REQUEST)) $id

References $id, and getResults().

+ Here is the call graph for this function:

◆ getResults()

ilSearchResult::getResults ( )

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

280 {
281 return $this->results ? $this->results : array();
282 }

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

+ Here is the caller graph for this function:

◆ getResultsByObjId()

ilSearchResult::getResultsByObjId ( )

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

299 {
300 $tmp_res = array();
301 foreach ($this->getResults() as $ref_id => $res_data) {
302 $tmp_res[$res_data['obj_id']][] = $ref_id;
303 }
304 return $tmp_res ? $tmp_res : array();
305 }

References getResults().

+ Here is the call graph for this function:

◆ getResultsForPresentation()

ilSearchResult::getResultsForPresentation ( )

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

328 {
329 $res = array();
330
331 foreach ($this->getResults() as $result) {
332 $res[$result['ref_id']] = $result['obj_id'];
333 }
334 return $res;
335 }
foreach($_POST as $key=> $value) $res

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

+ Here is the call graph for this function:

◆ getSubitemIds()

ilSearchResult::getSubitemIds ( )

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

338 {
339 $res = array();
340 foreach ($this->getResults() as $row) {
341 $res[$row['obj_id']] = $row['child'];
342 }
343 return $res ? $res : array();
344 }
$row

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

+ 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. @access public

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

315 {
316 $obj_ids = array();
317 foreach ($this->results as $result) {
318 if (in_array($result['obj_id'], $obj_ids)) {
319 continue;
320 }
321 $obj_ids[] = $result['obj_id'];
322 $objects[] = $result;
323 }
324 return $objects ? $objects : array();
325 }

References $result.

◆ getUserId()

ilSearchResult::getUserId ( )

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

106 {
107 return $this->user_id;
108 }

References $user_id.

Referenced by initUserSearchCache().

+ Here is the caller graph for this function:

◆ initUserSearchCache()

ilSearchResult::initUserSearchCache ( )
protected

Init user search cache.

@access private

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

549 {
550 include_once('Services/Search/classes/class.ilUserSearchCache.php');
551 $this->search_cache = ilUserSearchCache::_getInstance($this->getUserId());
552 $this->offset = $this->getMaxHits() * ($this->search_cache->getResultPageNumber() - 1) ;
553 }
static _getInstance($a_usr_id)
Get singleton instance.

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

Referenced by __construct().

+ 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 @access public

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

241 {
242 $new_entries = $this->getEntries();
243 $this->entries = array();
244
245 foreach ($result_obj->getEntries() as $entry) {
246 $obj_id = $entry['obj_id'];
247 if (isset($new_entries[$obj_id])) {
248 $this->addEntry(
249 $new_entries[$obj_id]['obj_id'],
250 $new_entries[$obj_id]['type'],
251 $new_entries[$obj_id]['found']
252 );
253
254 $this->__updateEntryChilds(
255 $new_entries[$obj_id]['obj_id'],
256 $new_entries[$obj_id]['child']
257 );
258 }
259 }
260 }

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

+ 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.

@access public

Parameters
intcurrent counter of result
Returns
bool reached or not

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

137 {
138 return ($a_counter < $this->offset) ? false : true;
139 }

◆ mergeEntries()

ilSearchResult::mergeEntries ( $result_obj)

merge entries of this instance and another result object

Parameters
objectresult_obj @access public

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

198 {
199 foreach ($result_obj->getEntries() as $entry) {
200 $this->addEntry($entry['obj_id'], $entry['type'], $entry['found']);
201 $this->__updateEntryChilds($entry['obj_id'], $entry['child']);
202 }
203 return true;
204 }

References __updateEntryChilds(), and addEntry().

+ Here is the call graph for this function:

◆ numEntries()

ilSearchResult::numEntries ( )

Check number of entries @access public.

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

187 {
188 return count($this->getEntries());
189 }

References getEntries().

+ 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()

@access public

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

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

565 {
566 if (null === $a_flag) {
568 }
569
570 $this->preventOverwritingMaxhits = $a_flag;
571
572 return $this;
573 }

References $preventOverwritingMaxhits, and preventOverwritingMaxhits().

Referenced by __initSearchSettingsObject(), and preventOverwritingMaxhits().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

ilSearchResult::read (   $a_type = DEFAULT_SEARCH)

read search results

Parameters
integerDEFAULT_SEARCH or ADVANCED_SEARCH @access public

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

488 {
489 $this->results = $this->search_cache->getResults();
490 }

◆ save()

ilSearchResult::save (   $a_type = DEFAULT_SEARCH)

Save search results.

Parameters
integerDEFAULT_SEARCH or ADVANCED_SEARCH @access public

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

477 {
478 $this->search_cache->save();
479 return false;
480 }

◆ setMaxHits()

ilSearchResult::setMaxHits (   $a_max_hits)

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

121 {
122 $this->max_hits = $a_max_hits;
123 }

Referenced by __initSearchSettingsObject().

+ 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 45 of file class.ilSearchResult.php.

◆ $ilAccess

ilSearchResult::$ilAccess

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

Referenced by __construct().

◆ $ilias

ilSearchResult::$ilias

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

Referenced by __construct().

◆ $limit_reached

ilSearchResult::$limit_reached = false

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

◆ $observers

ilSearchResult::$observers = array()

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

◆ $offset

ilSearchResult::$offset = 0
protected

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

◆ $permission

ilSearchResult::$permission = 'visible'

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

Referenced by getRequiredPermission().

◆ $preventOverwritingMaxhits

ilSearchResult::$preventOverwritingMaxhits = false
protected

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

Referenced by preventOverwritingMaxhits().

◆ $result

ilSearchResult::$result

◆ $results

ilSearchResult::$results = array()

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

◆ $search_cache

ilSearchResult::$search_cache = null
protected

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

◆ $user_id

ilSearchResult::$user_id

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

Referenced by getUserId().


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