Detailed Description
Member Function Documentation
ilFulltextMetaDataSearch::__createContributeWhereCondition |
( |
| ) |
|
Definition at line 76 of file class.ilFulltextMetaDataSearch.php.
{
if($this->db->isMysql4_0OrHigher())
{
$query .= " WHERE MATCH(entity) AGAINST('";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= '* ';
}
$query .= "' IN BOOLEAN MODE) ";
}
else
{
$query .= " WHERE MATCH (entity) AGAINST(' ";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= ' ';
}
$query .= "') ";
}
return $query;
}
ilFulltextMetaDataSearch::__createDescriptionWhereCondition |
( |
| ) |
|
Definition at line 128 of file class.ilFulltextMetaDataSearch.php.
{
if($this->db->isMysql4_0OrHigher())
{
$query .= " WHERE MATCH(description) AGAINST('";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= '* ';
}
$query .= "' IN BOOLEAN MODE) ";
}
else
{
$query .= " WHERE MATCH (description) AGAINST(' ";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= ' ';
}
$query .= "') ";
}
return $query;
}
ilFulltextMetaDataSearch::__createKeywordWhereCondition |
( |
| ) |
|
Definition at line 50 of file class.ilFulltextMetaDataSearch.php.
{
if($this->db->isMysql4_0OrHigher())
{
$query .= " WHERE MATCH(keyword) AGAINST('";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= '* ';
}
$query .= "' IN BOOLEAN MODE) ";
}
else
{
$query .= " WHERE MATCH (keyword) AGAINST(' ";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= ' ';
}
$query .= "') ";
}
return $query;
}
ilFulltextMetaDataSearch::__createTitleWhereCondition |
( |
| ) |
|
Definition at line 102 of file class.ilFulltextMetaDataSearch.php.
{
if($this->db->isMysql4_0OrHigher())
{
$query .= " WHERE MATCH(title,coverage) AGAINST('";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= '* ';
}
$query .= "' IN BOOLEAN MODE) ";
}
else
{
$query .= " WHERE MATCH (title,coverage) AGAINST(' ";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$query .= $word;
$query .= ' ';
}
$query .= "') ";
}
return $query;
}
ilFulltextMetaDataSearch::ilFulltextMetaDataSearch |
( |
& |
$qp_obj | ) |
|
The documentation for this class was generated from the following file: