◆ __createContributeWhereCondition()
ilFulltextMetaDataSearch::__createContributeWhereCondition |
( |
| ) |
|
Definition at line 76 of file class.ilFulltextMetaDataSearch.php.
77 {
78
79 if($this->db->isMysql4_0OrHigher())
80 {
81 $query .=
" WHERE MATCH(entity) AGAINST('";
82 foreach($this->query_parser->getQuotedWords(true) as $word)
83 {
86 }
87 $query .=
"' IN BOOLEAN MODE) ";
88 }
89 else
90 {
91
92 $query .=
" WHERE MATCH (entity) AGAINST(' ";
93 foreach($this->query_parser->getQuotedWords(true) as $word)
94 {
97 }
99 }
101 }
References $query.
◆ __createDescriptionWhereCondition()
ilFulltextMetaDataSearch::__createDescriptionWhereCondition |
( |
| ) |
|
Definition at line 128 of file class.ilFulltextMetaDataSearch.php.
129 {
130
131 if($this->db->isMysql4_0OrHigher())
132 {
133 $query .=
" WHERE MATCH(description) AGAINST('";
134 foreach($this->query_parser->getQuotedWords(true) as $word)
135 {
138 }
139 $query .=
"' IN BOOLEAN MODE) ";
140 }
141 else
142 {
143
144 $query .=
" WHERE MATCH (description) AGAINST(' ";
145 foreach($this->query_parser->getQuotedWords(true) as $word)
146 {
149 }
151 }
153 }
References $query.
◆ __createKeywordWhereCondition()
ilFulltextMetaDataSearch::__createKeywordWhereCondition |
( |
| ) |
|
Definition at line 50 of file class.ilFulltextMetaDataSearch.php.
51 {
52
53 if($this->db->isMysql4_0OrHigher())
54 {
55 $query .=
" WHERE MATCH(keyword) AGAINST('";
56 foreach($this->query_parser->getQuotedWords(true) as $word)
57 {
60 }
61 $query .=
"' IN BOOLEAN MODE) ";
62 }
63 else
64 {
65
66 $query .=
" WHERE MATCH (keyword) AGAINST(' ";
67 foreach($this->query_parser->getQuotedWords(true) as $word)
68 {
71 }
73 }
75 }
References $query.
◆ __createTitleWhereCondition()
ilFulltextMetaDataSearch::__createTitleWhereCondition |
( |
| ) |
|
Definition at line 102 of file class.ilFulltextMetaDataSearch.php.
103 {
104
105 if($this->db->isMysql4_0OrHigher())
106 {
107 $query .=
" WHERE MATCH(title,coverage) AGAINST('";
108 foreach($this->query_parser->getQuotedWords(true) as $word)
109 {
112 }
113 $query .=
"' IN BOOLEAN MODE) ";
114 }
115 else
116 {
117
118 $query .=
" WHERE MATCH (title,coverage) AGAINST(' ";
119 foreach($this->query_parser->getQuotedWords(true) as $word)
120 {
123 }
125 }
127 }
References $query.
◆ ilFulltextMetaDataSearch()
ilFulltextMetaDataSearch::ilFulltextMetaDataSearch |
( |
& |
$qp_obj | ) |
|
The documentation for this class was generated from the following file: