ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilLikeWikiContentSearch.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
30
class
ilLikeWikiContentSearch
extends
ilWikiContentSearch
31
{
32
public
function
__createWhereCondition
(): string
33
{
34
$and =
" WHERE ( "
;
35
$counter
= 0;
36
foreach
($this->query_parser->getQuotedWords() as $word) {
37
if
(
$counter
++) {
38
$and .=
" OR"
;
39
}
40
$and .= $this->db->like(
"content"
,
"clob"
,
'%'
. $word .
'%'
);
41
$and .=
" OR "
;
42
$and .= $this->db->like(
"title"
,
"text"
,
'%'
. $word .
'%'
);
43
}
44
return
$and .
") "
;
45
}
46
}
ilLikeWikiContentSearch
Definition:
class.ilLikeWikiContentSearch.php:31
ilLikeWikiContentSearch\__createWhereCondition
__createWhereCondition()
Definition:
class.ilLikeWikiContentSearch.php:32
ilWikiContentSearch
Class ilWikiContentSearch.
Definition:
class.ilWikiContentSearch.php:29
$counter
$counter
Definition:
shib_logout.php:170
components
ILIAS
Search
classes
Like
class.ilLikeWikiContentSearch.php
Generated on Sat Oct 18 2025 23:03:39 for ILIAS by
1.9.4 (using
Doxyfile
)