24 include_once
'Services/Search/classes/class.ilAdvancedSearch.php';
45 parent::__construct($qp);
54 if ($this->options[
'lom_taxon']) {
58 foreach ($this->query_parser->getQuotedWords() as $word) {
63 $where .=
$ilDB->like(
'taxon',
'text',
'%' . $word .
'%');
80 foreach ($this->query_parser->getQuotedWords() as $word) {
85 $where .=
$ilDB->like(
'keyword',
'text',
'%' . $word .
'%');
97 if ($this->options[
'lom_version']) {
101 foreach ($this->query_parser->getQuotedWords() as $word) {
106 $where .=
$ilDB->like(
'meta_version',
'text',
'%' . $word .
'%');
118 $ilDB = $DIC[
'ilDB'];
120 if ($this->options[
'lom_role_entry']) {
124 foreach ($this->query_parser->getQuotedWords() as $word) {
129 $where .=
$ilDB->like(
'entity',
'text',
'%' . $word .
'%');
141 $ilDB = $DIC[
'ilDB'];
143 if ($this->options[
'lom_coverage']) {
147 foreach ($this->query_parser->getQuotedWords() as $word) {
152 $where .=
$ilDB->like(
'coverage',
'text',
'%' . $word .
'%');
164 $ilDB = $DIC[
'ilDB'];
166 $concat =
$ilDB->concat(
168 array(
'title',
'text'),
169 array(
'description',
'text'))
175 foreach ($this->query_parser->getQuotedWords() as $word) {
180 $where .=
$ilDB->like($concat,
'text',
'%' . $word .
'%');
__createLifecycleWhereCondition()
__construct($qp)
Constructor.
__createEntityWhereCondition()
__createCoverageAndCondition()
__createTaxonWhereCondition()
__createKeywordWhereCondition()
__createTitleDescriptionWhereCondition()