PHP 클래스 Sulu\Component\Media\SmartContent\MediaDataProvider

상속: extends Sulu\Component\SmartContent\Orm\BaseDataProvider
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Sulu\Component\SmartContent\Orm\DataProviderRepositoryInterface $repository, Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface $collectionManager, JMS\Serializer\SerializerInterface $serializer, Symfony\Component\HttpFoundation\RequestStack $requestStack )
getDefaultPropertyParameter ( )
resolveDatasource ( $datasource, array $propertyParameter, array $options )

보호된 메소드들

메소드 설명
decorateDataItems ( array $data )
getOptions ( array $propertyParameter, array $options = [] )

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\SmartContent\Orm\DataProviderRepositoryInterface $repository, Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface $collectionManager, JMS\Serializer\SerializerInterface $serializer, Symfony\Component\HttpFoundation\RequestStack $requestStack )
$repository Sulu\Component\SmartContent\Orm\DataProviderRepositoryInterface
$collectionManager Sulu\Bundle\MediaBundle\Collection\Manager\CollectionManagerInterface
$serializer JMS\Serializer\SerializerInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack

decorateDataItems() 보호된 메소드

protected decorateDataItems ( array $data )
$data array

getDefaultPropertyParameter() 공개 메소드

getOptions() 보호된 메소드

protected getOptions ( array $propertyParameter, array $options = [] )
$propertyParameter array
$options array

resolveDatasource() 공개 메소드

public resolveDatasource ( $datasource, array $propertyParameter, array $options )
$propertyParameter array
$options array