ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilObjectSearchFactory Class Reference
+ Collaboration diagram for ilObjectSearchFactory:

Public Member Functions

_getObjectSearchInstance (&$query_parser)
_getMetaDataSearchInstance (&$query_parser)
_getLMContentSearchInstance (&$query_parser)
_getForumSearchInstance (&$query_parser)
_getGlossaryDefinitionSearchInstance (&$query_parser)
_getExerciseSearchInstance (&$query_parser)
_getMediacastSearchInstance (&$query_parser)
_getTestSearchInstance (&$query_parser)
_getMediaPoolSearchInstance (&$query_parser)
_getAdvancedSearchInstance (&$query_parser)
_getFileSearchInstance (&$query_parser)
_getHTLMSearchInstance (&$query_parser)
_getWebresourceSearchInstance (&$query_parser)
_getUserSearchInstance (&$query_parser)
_getUserDefinedFieldSearchInstance (&$query_parser)
_getWikiContentSearchInstance (&$query_parser)

Static Public Member Functions

static _getShopObjectSearchInstance ($query_parser)
 get reference of ilFulltext/LikeShopObjectSearch.
static _getShopMetaDataSearchInstance ($query_parser)
static _getAdvancedMDSearchInstance ($query_parser)
 get advanced meta data search instance

Detailed Description

Definition at line 36 of file class.ilObjectSearchFactory.php.

Member Function Documentation

static ilObjectSearchFactory::_getAdvancedMDSearchInstance (   $query_parser)
static

get advanced meta data search instance

public

Parameters
objectquery parser

Definition at line 438 of file class.ilObjectSearchFactory.php.

Referenced by ilAdvancedSearchGUI\searchAdvancedMD().

{
include_once('Services/AdvancedMetaData/classes/class.ilAdvancedMDLikeSearch.php');
return new ilAdvancedMDLikeSearch($query_parser);
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getExerciseSearchInstance ( $query_parser)

Definition at line 232 of file class.ilObjectSearchFactory.php.

Referenced by ilSearchGUI\__performDetailsSearch().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextExerciseSearch.php';
return new ilFulltextExerciseSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeExerciseSearch.php';
return new ilLikeExerciseSearch($query_parser);
}
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getFileSearchInstance ( $query_parser)

Definition at line 358 of file class.ilObjectSearchFactory.php.

Referenced by ilSearchGUI\__performDetailsSearch().

{
include_once 'Services/Search/classes/Lucene/class.ilLuceneFileSearch.php';
return new ilLuceneFileSearch($query_parser);
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getForumSearchInstance ( $query_parser)

Definition at line 176 of file class.ilObjectSearchFactory.php.

Referenced by ilSearchGUI\__performDetailsSearch().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextForumSearch.php';
return new ilFulltextForumSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeForumSearch.php';
return new ilLikeForumSearch($query_parser);
}
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getGlossaryDefinitionSearchInstance ( $query_parser)

Definition at line 205 of file class.ilObjectSearchFactory.php.

Referenced by ilAdvancedSearchGUI\__performContentSearch(), and ilSearchGUI\__performDetailsSearch().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextGlossaryDefinitionSearch.php';
return new ilFulltextGlossaryDefinitionSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeGlossaryDefinitionSearch.php';
return new ilLikeGlossaryDefinitionSearch($query_parser);
}
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getHTLMSearchInstance ( $query_parser)

Definition at line 370 of file class.ilObjectSearchFactory.php.

Referenced by ilAdvancedSearchGUI\__performContentSearch(), and ilSearchGUI\__performDetailsSearch().

{
include_once 'Services/Search/classes/Lucene/class.ilLuceneHTLMSearch.php';
return new ilLuceneHTLMSearch($query_parser);
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getLMContentSearchInstance ( $query_parser)

Definition at line 161 of file class.ilObjectSearchFactory.php.

Referenced by ilAdvancedSearchGUI\__performContentSearch(), and ilSearchGUI\__performDetailsSearch().

{
// In the moment only Fulltext search. Maybe later is lucene search possible
include_once 'Services/Search/classes/Fulltext/class.ilFulltextLMContentSearch.php';
return new ilFulltextLMContentSearch($query_parser);
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getMediacastSearchInstance ( $query_parser)

Definition at line 261 of file class.ilObjectSearchFactory.php.

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextMediaCastSearch.php';
return new ilFulltextMediaCastSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeMediaCastSearch.php';
return new ilLikeMediaCastSearch($query_parser);
}
}
& ilObjectSearchFactory::_getMediaPoolSearchInstance ( $query_parser)

Definition at line 318 of file class.ilObjectSearchFactory.php.

Referenced by ilAdvancedSearchGUI\__performContentSearch(), and ilSearchGUI\__performDetailsSearch().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextMediaPoolSearch.php';
return new ilFulltextMediaPoolSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeMediaPoolSearch.php';
return new ilLikeMediaPoolSearch($query_parser);
}
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getMetaDataSearchInstance ( $query_parser)

Definition at line 133 of file class.ilObjectSearchFactory.php.

Referenced by ilSearchGUI\__searchMeta().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextMetaDataSearch.php';
return new ilFulltextMetaDataSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeMetaDataSearch.php';
return new ilLikeMetaDataSearch($query_parser);
}
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getObjectSearchInstance ( $query_parser)

Definition at line 45 of file class.ilObjectSearchFactory.php.

Referenced by ilSearchGUI\__searchObjects(), and ilSoapRBACAdministration\searchRoles().

{
include_once './Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextObjectSearch.php';
return new ilFulltextObjectSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeObjectSearch.php';
return new ilLikeObjectSearch($query_parser);
}
}

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getShopMetaDataSearchInstance (   $query_parser)
static

Definition at line 105 of file class.ilObjectSearchFactory.php.

Referenced by ilShopGUI\performSearch(), and ilShopAdvancedSearchGUI\searchObjects().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextShopMetaDataSearch.php';
return new ilFulltextShopMetaDataSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeShopMetaDataSearch.php';
return new ilLikeShopMetaDataSearch($query_parser);
}
}

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getShopObjectSearchInstance (   $query_parser)
static

get reference of ilFulltext/LikeShopObjectSearch.

@param object query parser object
@return object reference of ilFulltext/LikeShopObjectSearch
    @static

public

Definition at line 77 of file class.ilObjectSearchFactory.php.

Referenced by ilShopGUI\performSearch(), and ilShopAdvancedSearchGUI\searchObjects().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextShopObjectSearch.php';
return new ilFulltextShopObjectSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeShopObjectSearch.php';
return new ilLikeShopObjectSearch($query_parser);
}
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getTestSearchInstance ( $query_parser)

Definition at line 290 of file class.ilObjectSearchFactory.php.

Referenced by ilAdvancedSearchGUI\__performContentSearch(), and ilSearchGUI\__performDetailsSearch().

{
include_once 'Services/Search/classes/class.ilSearchSettings.php';
$search_settings = new ilSearchSettings();
if($search_settings->enabledIndex())
{
// FULLTEXT
include_once 'Services/Search/classes/Fulltext/class.ilFulltextTestSearch.php';
return new ilFulltextTestSearch($query_parser);
}
else
{
// LIKE
include_once 'Services/Search/classes/Like/class.ilLikeTestSearch.php';
return new ilLikeTestSearch($query_parser);
}
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getUserDefinedFieldSearchInstance ( $query_parser)

Definition at line 408 of file class.ilObjectSearchFactory.php.

Referenced by ilRepositorySearchGUI\__performUserSearch(), and ilAdminUserSearchGUI\__performUserSearch().

{
include_once 'Services/Search/classes/Like/class.ilLikeUserDefinedFieldSearch.php';
return new ilLikeUserDefinedFieldSearch($query_parser);
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getUserSearchInstance ( $query_parser)

Definition at line 395 of file class.ilObjectSearchFactory.php.

Referenced by ilRepositorySearchGUI\__performUserSearch(), ilAdminUserSearchGUI\__performUserSearch(), ilUserFilter\__searchObjects(), ilCalendarCategoryGUI\sharePerformSearch(), and ilMailSearchGUI\showResults().

{
include_once 'Services/Search/classes/Like/class.ilLikeUserSearch.php';
return new ilLikeUserSearch($query_parser);
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getWebresourceSearchInstance ( $query_parser)

Definition at line 382 of file class.ilObjectSearchFactory.php.

Referenced by ilAdvancedSearchGUI\__performContentSearch().

{
include_once 'Services/Search/classes/Fulltext/class.ilFulltextWebresourceSearch.php';
return new ilFulltextWebresourceSearch($query_parser);
}

+ Here is the caller graph for this function:

& ilObjectSearchFactory::_getWikiContentSearchInstance ( $query_parser)

Definition at line 421 of file class.ilObjectSearchFactory.php.

Referenced by ilSearchGUI\__performDetailsSearch(), and ilObjWiki\_performSearch().

{
// In the moment only Fulltext search. Maybe later is lucene search possible
include_once 'Services/Search/classes/Fulltext/class.ilFulltextWikiContentSearch.php';
return new ilFulltextWikiContentSearch($query_parser);
}

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: