◆ __createContributeWhereCondition()
ilLikeMetaDataSearch::__createContributeWhereCondition |
( |
| ) |
|
Definition at line 61 of file class.ilLikeMetaDataSearch.php.
62 {
64
65 $concat = ' entity ';
66 $where = " WHERE (";
68 foreach($this->query_parser->getQuotedWords() as $word)
69 {
71 {
72 $where .= "OR";
73 }
74 #$where .= $concat;
75 #$where .= (" LIKE ('%".$word."%')");
76 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
77 }
78 return $where.') ';
79 }
References $counter, and $ilDB.
◆ __createDescriptionWhereCondition()
ilLikeMetaDataSearch::__createDescriptionWhereCondition |
( |
| ) |
|
Definition at line 111 of file class.ilLikeMetaDataSearch.php.
112 {
114
115 $concat = ' description ';
116 $where = " WHERE (";
118 foreach($this->query_parser->getQuotedWords() as $word)
119 {
121 {
122 $where .= "OR";
123 }
124 #$where .= $concat;
125 #$where .= (" LIKE ('%".$word."%')");
126 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
127 }
128 return $where.') ';
129 }
References $counter, and $ilDB.
◆ __createKeywordWhereCondition()
ilLikeMetaDataSearch::__createKeywordWhereCondition |
( |
| ) |
|
Definition at line 41 of file class.ilLikeMetaDataSearch.php.
42 {
44
45 $concat = ' keyword ';
46 $where = " WHERE (";
48 foreach($this->query_parser->getQuotedWords() as $word)
49 {
51 {
52 $where .= "OR";
53 }
54 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
55 #$where .= $concat;
56 #$where .= (" LIKE ('%".$word."%')");
57 }
58 return $where.') ';
59 }
References $counter, and $ilDB.
◆ __createTitleWhereCondition()
ilLikeMetaDataSearch::__createTitleWhereCondition |
( |
| ) |
|
Definition at line 80 of file class.ilLikeMetaDataSearch.php.
81 {
83
84
85
86
87
88
89
90 $concat =
$ilDB->concat(
91 array(
92 array('title','text'),
93 array('coverage','text')));
94
95
96 $where = " WHERE (";
98 foreach($this->query_parser->getQuotedWords() as $word)
99 {
101 {
102 $where .= "OR";
103 }
104 #$where .= $concat;
105 #$where .= (" LIKE ('%".$word."%')");
106 $where .=
$ilDB->like($concat,
'text',
'%'.$word.
'%');
107 }
108 return $where.' )';
109 }
References $counter, and $ilDB.
The documentation for this class was generated from the following file: