Inheritance diagram for ilLikeMetaDataSearch:
Collaboration diagram for ilLikeMetaDataSearch:Public Member Functions | |
| ilLikeMetaDataSearch (&$qp_obj) | |
| Constructor public. | |
| __createKeywordWhereCondition () | |
| __createContributeWhereCondition () | |
| __createTitleWhereCondition () | |
| __createDescriptionWhereCondition () | |
Definition at line 37 of file class.ilLikeMetaDataSearch.php.
| ilLikeMetaDataSearch::__createContributeWhereCondition | ( | ) |
Definition at line 67 of file class.ilLikeMetaDataSearch.php.
{
$concat = ' entity ';
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $concat;
$where .= (" LIKE ('%".$word."%')");
}
return $where.') ';
}
| ilLikeMetaDataSearch::__createDescriptionWhereCondition | ( | ) |
Definition at line 103 of file class.ilLikeMetaDataSearch.php.
{
$concat = ' description ';
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $concat;
$where .= (" LIKE ('%".$word."%')");
}
return $where.') ';
}
| ilLikeMetaDataSearch::__createKeywordWhereCondition | ( | ) |
Definition at line 50 of file class.ilLikeMetaDataSearch.php.
{
$concat = ' keyword ';
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $concat;
$where .= (" LIKE ('%".$word."%')");
}
return $where.') ';
}
| ilLikeMetaDataSearch::__createTitleWhereCondition | ( | ) |
Definition at line 83 of file class.ilLikeMetaDataSearch.php.
{
#$concat = ' CONCAT(title,coverage) '; // broken if coverage is null
// TODO: fix coverage search
$concat = ' title ';
$where = " WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $concat;
$where .= (" LIKE ('%".$word."%')");
}
return $where.' )';
}
| ilLikeMetaDataSearch::ilLikeMetaDataSearch | ( | &$ | qp_obj | ) |
Constructor public.
Definition at line 44 of file class.ilLikeMetaDataSearch.php.
References ilMetaDataSearch::ilMetaDataSearch().
{
parent::ilMetaDataSearch($qp_obj);
}
Here is the call graph for this function:
1.7.1