Property | Type | Description | |
---|---|---|---|
$baseRoutePattern | string | ||
$datagridValues | array | Default values to the datagrid. | |
$languages | array | ||
$localisedMediaProviders | array | ||
$trackedActions | array |
Method | Description | |
---|---|---|
buildDatagrid ( ) | ||
checkForDuplicate ( $media, $checksum ) : object | ||
configureRoutes ( Sonata\AdminBundle\Route\RouteCollection $collection ) | ||
generateUrl ( $name, array $parameters = [], $absolute = false ) | ||
getBatchActions ( ) | ||
getChecksum ( $media ) : string | ||
getExportFormats ( ) | ||
getIcon ( ) : string | ||
getPersistentParameters ( ) | ||
getTemplate ( string $name ) : null | string | void | ||
getTrackedActions ( ) : Array | ||
prePersist ( mixed $media ) : mixed | void | ||
preUpdate ( mixed $media ) : mixed | void | ||
setLanguages ( array $languages ) | Set the language paramenter to contain a list of languages most likely passed from the config.yml file | |
setLocalisedMediaProviders ( array $providers ) | ||
setTrackedActions ( $trackedActions ) |
Method | Description | |
---|---|---|
buildEditForm ( Sonata\AdminBundle\Form\FormMapper $formMapper, Sonata\MediaBundle\Provider\MediaProviderInterface $provider ) | ||
configureDatagridFilters ( Sonata\AdminBundle\Datagrid\DatagridMapper $datagridMapper, $context = '', $provider = '' ) | ||
configureFormFields ( Sonata\AdminBundle\Form\FormMapper $formMapper ) | ||
configureListFields ( Sonata\AdminBundle\Datagrid\ListMapper $listMapper ) | ||
getLocaleChoices ( ) : array | Provide an array of locales where the locale is the key and the label is the value for easy display in a dropdown select for example example: array('de_CH' => 'Deutsch', 'en_GB' => 'English') |
protected buildEditForm ( Sonata\AdminBundle\Form\FormMapper $formMapper, Sonata\MediaBundle\Provider\MediaProviderInterface $provider ) | ||
$formMapper | Sonata\AdminBundle\Form\FormMapper | |
$provider | Sonata\MediaBundle\Provider\MediaProviderInterface |
public checkForDuplicate ( $media, $checksum ) : object | ||
$media | ||
return | object |
protected configureDatagridFilters ( Sonata\AdminBundle\Datagrid\DatagridMapper $datagridMapper, $context = '', $provider = '' ) | ||
$datagridMapper | Sonata\AdminBundle\Datagrid\DatagridMapper |
protected configureFormFields ( Sonata\AdminBundle\Form\FormMapper $formMapper ) | ||
$formMapper | Sonata\AdminBundle\Form\FormMapper |
protected configureListFields ( Sonata\AdminBundle\Datagrid\ListMapper $listMapper ) | ||
$listMapper | Sonata\AdminBundle\Datagrid\ListMapper |
public configureRoutes ( Sonata\AdminBundle\Route\RouteCollection $collection ) | ||
$collection | Sonata\AdminBundle\Route\RouteCollection |
public generateUrl ( $name, array $parameters = [], $absolute = false ) | ||
$parameters | array |
protected getLocaleChoices ( ) : array | ||
return | array |
public setLanguages ( array $languages ) | ||
$languages | array |
public setLocalisedMediaProviders ( array $providers ) | ||
$providers | array |
protected array $datagridValues | ||
return | array |