PHP 클래스 Sylius\Bundle\ResourceBundle\Doctrine\ODM\MongoDB\TranslatableRepository

저자: Ivannis Suárez Jérez ([email protected])
상속: extends Sylius\Bundle\ResourceBundle\Doctrine\ODM\MongoDB\DocumentRepository, implements Sylius\Component\Resource\Repository\TranslatableRepositoryInterface
파일 보기 프로젝트 열기: sylius/sylius

보호된 프로퍼티들

프로퍼티 타입 설명
$localeProvider Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface
$translatableFields array

공개 메소드들

메소드 설명
setLocaleProvider ( Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface $localeProvider )
setTranslatableFields ( array $translatableFields )

보호된 메소드들

메소드 설명
applyCriteria ( Builder $queryBuilder, array $criteria = null )
applySorting ( Builder $queryBuilder, array $sorting = null )
getPropertyName ( string $name ) : string

메소드 상세

applyCriteria() 보호된 메소드

protected applyCriteria ( Builder $queryBuilder, array $criteria = null )
$queryBuilder Doctrine\MongoDB\Query\Builder
$criteria array

applySorting() 보호된 메소드

protected applySorting ( Builder $queryBuilder, array $sorting = null )
$queryBuilder Doctrine\MongoDB\Query\Builder
$sorting array

getPropertyName() 보호된 메소드

protected getPropertyName ( string $name ) : string
$name string
리턴 string

setLocaleProvider() 공개 메소드

public setLocaleProvider ( Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface $localeProvider )
$localeProvider Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface

setTranslatableFields() 공개 메소드

public setTranslatableFields ( array $translatableFields )
$translatableFields array

프로퍼티 상세

$localeProvider 보호되어 있는 프로퍼티

protected TranslationLocaleProviderInterface,Sylius\Component\Resource\Translation\Provider $localeProvider
리턴 Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface

$translatableFields 보호되어 있는 프로퍼티

protected array $translatableFields
리턴 array