PHP Class Sulu\Component\Media\SmartContent\MediaDataProvider

Inheritance: extends Sulu\Component\SmartContent\Orm\BaseDataProvider
Datei anzeigen Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__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 )

Protected Methods

Method Description
decorateDataItems ( array $data )
getOptions ( array $propertyParameter, array $options = [] )

Method Details

__construct() public method

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 method

protected decorateDataItems ( array $data )
$data array

getDefaultPropertyParameter() public method

getOptions() protected method

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

resolveDatasource() public method

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