Detailed Description
Constructor & Destructor Documentation
ilLikeAdvancedSearch::__construct |
( |
|
$qp | ) |
|
Member Function Documentation
ilLikeAdvancedSearch::__createCoverageAndCondition |
( |
| ) |
|
Definition at line 140 of file class.ilLikeAdvancedSearch.php.
References $ilDB.
{
if($this->options['lom_coverage'])
{
$where = " AND (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $ilDB->like('coverage','text','%'.$word.'%');
}
$where .= ') ';
return $where;
}
return '';
}
ilLikeAdvancedSearch::__createEntityWhereCondition |
( |
| ) |
|
Definition at line 116 of file class.ilLikeAdvancedSearch.php.
References $ilDB.
{
if($this->options['lom_role_entry'])
{
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $ilDB->like('entity','text','%'.$word.'%');
}
$where .= ') ';
return $where;
}
return '';
}
ilLikeAdvancedSearch::__createKeywordWhereCondition |
( |
| ) |
|
Definition at line 72 of file class.ilLikeAdvancedSearch.php.
References $ilDB.
{
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $ilDB->like('keyword','text','%'.$word.'%');
}
$where .= ') ';
return $where;
}
ilLikeAdvancedSearch::__createLifecycleWhereCondition |
( |
| ) |
|
Definition at line 92 of file class.ilLikeAdvancedSearch.php.
References $ilDB.
{
if($this->options['lom_version'])
{
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $ilDB->like('meta_version','text','%'.$word.'%');
}
$where .= ') ';
return $where;
}
return '';
}
ilLikeAdvancedSearch::__createTaxonWhereCondition |
( |
| ) |
|
Definition at line 48 of file class.ilLikeAdvancedSearch.php.
References $ilDB.
{
if($this->options['lom_taxon'])
{
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $ilDB->like('taxon','text','%'.$word.'%');
}
$where .= ') ';
return $where;
}
return '';
}
ilLikeAdvancedSearch::__createTitleDescriptionWhereCondition |
( |
| ) |
|
Definition at line 164 of file class.ilLikeAdvancedSearch.php.
References $ilDB.
{
$concat = $ilDB->concat(
array(
array('title','text'),
array('description','text')));
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $ilDB->like($concat,'text','%'.$word.'%');
}
$where .= ') ';
return $where;
}
The documentation for this class was generated from the following file: