Handles document type definitions embedded in the class the definitions are for.
It calls the fetchDefinition() method on the class in order to retrieve the definition. This method is required to return an ezcSearchDocumentDefinition object. The method is part of the interface ezcSearchDefinitionProvider.
Source for this file: /Search/src/managers/embedded_manager.php
Version: | //autogen// |
public ezcSearchEmbeddedManager |
__construct(
)
Constructs a new embedded manager. |
public ezcSearchDocumentDefinition |
fetchDefinition(
$type
)
Returns the definition of the search document with the type $type. |
Constructs a new embedded manager.
Returns the definition of the search document with the type $type.
Name | Type | Description |
---|---|---|
$type |
string |
Type | Description |
---|---|
ezcSearchDefinitionInvalidException |
if the definition does not have an "idProperty" attribute. |
ezcSearchDoesNotProvideDefinitionException |
if no such definition can be found. |
Method | Description |
---|---|
ezcSearchDefinitionManager::fetchDefinition() |
Returns the definition of the document type $type. |