PHP Class eZ\Publish\Core\Persistence\Legacy\Tests\Content\LanguageAwareTestCase

Mostra file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$fieldNameGeneratorMock eZ\Publish\Core\Search\Common\FieldNameGenerator | PHPUnit_Framework_MockObject_MockObject
$languageHandler eZ\Publish\Core\Persistence\Legacy\Content\Language\CachingLanguageHandler Language handler.
$languageMaskGenerator eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator Language mask generator.

Protected Methods

Method Description
getDefinitionBasedTransformationProcessor ( ) : DefinitionBased Return definition-based transformation processor instance.
getFieldNameGeneratorMock ( ) : FieldNameGenerator | PHPUnit_Framework_MockObject_MockObject
getFullTextMapper ( Handler $contentTypeHandler ) : FullTextMapper
getFullTextSearchConfiguration ( ) Get FullText search configuration.
getLanguageHandler ( ) : Handler Returns a language handler mock.
getLanguageMaskGenerator ( ) : MaskGenerator Returns a language mask generator.

Method Details

getDefinitionBasedTransformationProcessor() protected method

Return definition-based transformation processor instance.
protected getDefinitionBasedTransformationProcessor ( ) : DefinitionBased
return eZ\Publish\Core\Persistence\TransformationProcessor\DefinitionBased

getFieldNameGeneratorMock() protected method

protected getFieldNameGeneratorMock ( ) : FieldNameGenerator | PHPUnit_Framework_MockObject_MockObject
return eZ\Publish\Core\Search\Common\FieldNameGenerator | PHPUnit_Framework_MockObject_MockObject

getFullTextMapper() protected method

protected getFullTextMapper ( Handler $contentTypeHandler ) : FullTextMapper
$contentTypeHandler eZ\Publish\Core\Persistence\Legacy\Content\Type\Handler
return eZ\Publish\Core\Search\Legacy\Content\Mapper\FullTextMapper

getFullTextSearchConfiguration() protected method

Get FullText search configuration.

getLanguageHandler() protected method

Returns a language handler mock.
protected getLanguageHandler ( ) : Handler
return eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler

getLanguageMaskGenerator() protected method

Returns a language mask generator.
protected getLanguageMaskGenerator ( ) : MaskGenerator
return eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator

Property Details

$fieldNameGeneratorMock protected_oe property

protected FieldNameGenerator,eZ\Publish\Core\Search\Common|PHPUnit_Framework_MockObject_MockObject $fieldNameGeneratorMock
return eZ\Publish\Core\Search\Common\FieldNameGenerator | PHPUnit_Framework_MockObject_MockObject

$languageHandler protected_oe property

Language handler.
protected CachingLanguageHandler,eZ\Publish\Core\Persistence\Legacy\Content\Language $languageHandler
return eZ\Publish\Core\Persistence\Legacy\Content\Language\CachingLanguageHandler

$languageMaskGenerator protected_oe property

Language mask generator.
protected MaskGenerator,eZ\Publish\Core\Persistence\Legacy\Content\Language $languageMaskGenerator
return eZ\Publish\Core\Persistence\Legacy\Content\Language\MaskGenerator