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

Public Member Functions

 _getWebresourceSearchInstance ($query_parser)
 get reference of ilFulltextWebresourceSearch

Static Public Member Functions

static _getObjectSearchInstance ($query_parser)
 get reference of ilFulltext/LikeObjectSearch.
static _getShopObjectSearchInstance ($query_parser)
 get reference of LikeShopObjectSearch.
static _getShopMetaDataSearchInstance ($query_parser)
 get reference of LikeShopMetaDataSearch.
static _getMetaDataSearchInstance ($query_parser)
 get reference of ilFulltext/LikeMetaDataSearch.
static _getLMContentSearchInstance ($query_parser)
 get reference of ilFulltextLMContentSearch
static _getForumSearchInstance ($query_parser)
 get reference of ilFulltextForumSearch
static _getGlossaryDefinitionSearchInstance ($query_parser)
 get reference of ilFulltextGlossaryDefinitionSearch
static _getExerciseSearchInstance ($query_parser)
 get reference of ilFulltextExerciseSearch
static _getMediacastSearchInstance ($query_parser)
 get reference of ilFulltextMediacastSearch
static _getTestSearchInstance ($query_parser)
 get reference of ilFulltextTestSearch
static _getMediaPoolSearchInstance ($query_parser)
 get reference of ilFulltextMediapoolSearch
static _getAdvancedSearchInstance ($query_parser)
 get reference of ilFulltextAdvancedSearch
static _getUserSearchInstance ($query_parser)
 get reference of ilLikeUserSearch
static _getUserDefinedFieldSearchInstance ($query_parser)
 get reference of ilLikeUserDefinedFieldSearch
static _getWikiContentSearchInstance ($query_parser)
 get reference of ilFulltextWikiContentSearch
static _getAdvancedMDSearchInstance ($query_parser)
 get advanced meta data search instance

Detailed Description

Definition at line 37 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 350 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:

static ilObjectSearchFactory::_getAdvancedSearchInstance (   $query_parser)
static
static ilObjectSearchFactory::_getExerciseSearchInstance (   $query_parser)
static

get reference of ilFulltextExerciseSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextExerciseSearch

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

References ilSearchSettings\getInstance().

Referenced by ilSearchGUI\__performDetailsSearch().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getForumSearchInstance (   $query_parser)
static

get reference of ilFulltextForumSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextForumSearch

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

References ilSearchSettings\getInstance().

Referenced by ilSearchGUI\__performDetailsSearch().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getGlossaryDefinitionSearchInstance (   $query_parser)
static

get reference of ilFulltextGlossaryDefinitionSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextGlossaryDefinitionSearch

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

References ilSearchSettings\getInstance().

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getLMContentSearchInstance (   $query_parser)
static

get reference of ilFulltextLMContentSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextLMContentSearch

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

References ilSearchSettings\getInstance().

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

{
if(ilSearchSettings::getInstance()->enabledIndex())
{
include_once 'Services/Search/classes/Fulltext/class.ilFulltextLMContentSearch.php';
return new ilFulltextLMContentSearch($query_parser);
}
else
{
include_once './Services/Search/classes/Like/class.ilLikeLMContentSearch.php';
return new ilLikeLMContentSearch($query_parser);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getMediacastSearchInstance (   $query_parser)
static

get reference of ilFulltextMediacastSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextMediacastSearch

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

References ilSearchSettings\getInstance().

{
if(ilSearchSettings::getInstance()->enabledIndex())
{
include_once 'Services/Search/classes/Fulltext/class.ilFulltextMediaCastSearch.php';
return new ilFulltextMediaCastSearch($query_parser);
}
else
{
include_once 'Services/Search/classes/Like/class.ilLikeMediaCastSearch.php';
return new ilLikeMediaCastSearch($query_parser);
}
}

+ Here is the call graph for this function:

static ilObjectSearchFactory::_getMediaPoolSearchInstance (   $query_parser)
static

get reference of ilFulltextMediapoolSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextMediapoolSearch

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

References ilSearchSettings\getInstance().

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getMetaDataSearchInstance (   $query_parser)
static

get reference of ilFulltext/LikeMetaDataSearch.

Parameters
objectquery parser object
Returns
object reference of ilFulltext/LikeMetaDataSearch

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

References ilSearchSettings\getInstance().

Referenced by ilSearchGUI\__searchMeta().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getObjectSearchInstance (   $query_parser)
static

get reference of ilFulltext/LikeObjectSearch.

Parameters
objectquery parser object
Returns
object reference of ilFulltext/LikeObjectSearch

Definition at line 46 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

get reference of LikeShopMetaDataSearch.

Parameters
objectquery parser object
Returns
object reference of LikeShopMetaDataSearch

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

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

{
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 LikeShopObjectSearch.

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

public

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

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

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

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getTestSearchInstance (   $query_parser)
static

get reference of ilFulltextTestSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextTestSearch

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

References ilSearchSettings\getInstance().

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getUserDefinedFieldSearchInstance (   $query_parser)
static

get reference of ilLikeUserDefinedFieldSearch

Parameters
objectquery parser object
Returns
object reference of ilLikeUserDefinedFieldSearch

Definition at line 316 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:

static ilObjectSearchFactory::_getUserSearchInstance (   $query_parser)
static

get reference of ilLikeUserSearch

Parameters
objectquery parser object
Returns
object reference of ilWebresourceAdvancedSearch

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

Referenced by ilRepositorySearchGUI\__performUserSearch(), ilAdminUserSearchGUI\__performUserSearch(), ilUserFilter\__searchObjects(), ilSearch\performUserSearch(), ilForumModeratorsGUI\searchModerators(), 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)

get reference of ilFulltextWebresourceSearch

Parameters
objectquery parser object
Returns
object reference of ilWebresourceAdvancedSearch

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

References ilSearchSettings\getInstance().

Referenced by ilAdvancedSearchGUI\__performContentSearch().

{
if(ilSearchSettings::getInstance()->enabledIndex())
{
include_once 'Services/Search/classes/Fulltext/class.ilFulltextWebresourceSearch.php';
return new ilFulltextWebresourceSearch($query_parser);
}
else
{
include_once 'Services/Search/classes/Like/class.ilLikeWebresourceSearch.php';
return new ilLikeWebresourceSearch($query_parser);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilObjectSearchFactory::_getWikiContentSearchInstance (   $query_parser)
static

get reference of ilFulltextWikiContentSearch

Parameters
objectquery parser object
Returns
object reference of ilFulltextWikiContentSearch

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

References ilSearchSettings\getInstance().

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

{
if(ilSearchSettings::getInstance()->enabledIndex())
{
include_once 'Services/Search/classes/Fulltext/class.ilFulltextWikiContentSearch.php';
return new ilFulltextWikiContentSearch($query_parser);
}
else
{
include_once 'Services/Search/classes/Like/class.ilLikeWikiContentSearch.php';
return new ilLikeWikiContentSearch($query_parser);
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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