◆ __createContributeWhereCondition()
ilLikeMetaDataSearch::__createContributeWhereCondition |
( |
| ) |
|
Definition at line 61 of file class.ilLikeMetaDataSearch.php.
References $DIC, and $ilDB.
70 foreach ($this->query_parser->getQuotedWords() as $word) {
75 #$where .= (" LIKE ('%".$word."%')"); 76 $where .=
$ilDB->like($concat,
'text',
'%' . $word .
'%');
◆ __createDescriptionWhereCondition()
ilLikeMetaDataSearch::__createDescriptionWhereCondition |
( |
| ) |
|
Definition at line 112 of file class.ilLikeMetaDataSearch.php.
References $DIC, and $ilDB.
116 $ilDB = $DIC[
'ilDB'];
118 $concat =
' description ';
121 foreach ($this->query_parser->getQuotedWords() as $word) {
126 #$where .= (" LIKE ('%".$word."%')"); 127 $where .=
$ilDB->like($concat,
'text',
'%' . $word .
'%');
129 return $where .
') ';
◆ __createKeywordWhereCondition()
ilLikeMetaDataSearch::__createKeywordWhereCondition |
( |
| ) |
|
Definition at line 41 of file class.ilLikeMetaDataSearch.php.
References $DIC, and $ilDB.
47 $concat =
' keyword ';
50 foreach ($this->query_parser->getQuotedWords() as $word) {
54 $where .=
$ilDB->like($concat,
'text',
'%' . $word .
'%');
56 #$where .= (" LIKE ('%".$word."%')");
◆ __createTitleWhereCondition()
ilLikeMetaDataSearch::__createTitleWhereCondition |
( |
| ) |
|
Definition at line 80 of file class.ilLikeMetaDataSearch.php.
References $DIC, and $ilDB.
92 $concat =
$ilDB->concat(
94 array(
'title',
'text'),
95 array(
'coverage',
'text'))
101 foreach ($this->query_parser->getQuotedWords() as $word) {
106 #$where .= (" LIKE ('%".$word."%')"); 107 $where .=
$ilDB->like($concat,
'text',
'%' . $word .
'%');
109 return $where .
' )';
The documentation for this class was generated from the following file: