Path

ez components / documentation / api reference / 2009.1.2 / search


eZ Components 2009.1.2

Search: ezcSearchEmbeddedManager

[ Tutorial ] [ Solr schema ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcSearchEmbeddedManager

Handles document type definitions embedded in the class the definitions are for. [source]

Implemented Interfaces

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.

Method Summary

public ezcSearchEmbeddedManager __construct( )
Constructs a new embedded manager.
public ezcSearchDocumentDefinition fetchDefinition( $type )
Returns the definition of the search document with the type $type.

Methods

__construct

ezcSearchEmbeddedManager __construct( )
Constructs a new embedded manager.

fetchDefinition

ezcSearchDocumentDefinition fetchDefinition( string $type )
Returns the definition of the search document with the type $type.

Parameters

Name Type Description
$type string  

Throws

ClassDescription
ezcSearchDoesNotProvideDefinitionException if no such definition can be found.
ezcSearchDefinitionInvalidException if the definition does not have an "idProperty" attribute.

Last updated: Tue, 01 Sep 2009