PHP Class Sulu\Component\Media\SmartContent\MediaDataProvider

Inheritance: extends Sulu\Component\SmartContent\Orm\BaseDataProvider
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
decorateDataItems ( array $data )
getOptions ( array $propertyParameter, array $options = [] )

Method Details

__construct() public méthode

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 méthode

protected decorateDataItems ( array $data )
$data array

getDefaultPropertyParameter() public méthode

getOptions() protected méthode

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

resolveDatasource() public méthode

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