PHP Class Networking\InitCmsBundle\Controller\MediaAdminController

Author: Yorkie Chadwick ([email protected])
Inheritance: extends Sonata\MediaBundle\Controller\MediaAdminController
Show file Open project: networking/init-cms-bundle

Public Methods

Method Description
batchActionDelete ( Sonata\AdminBundle\Datagrid\ProxyQueryInterface $query ) : RedirectResponse execute a batch delete
createAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response | Response
deleteAction ( mixed $id ) : Response | RedirectResponse
listAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response | Response return the Response object associated to the list action
redirectTo ( object $object ) : Response redirect the user depend on this choice
refreshListAction ( ) : Response
showAction ( null $id = null ) : Symfony\Bundle\FrameworkBundle\Controller\Response

Protected Methods

Method Description
doBatchDelete ( Sonata\AdminBundle\Datagrid\ProxyQueryInterface $queryProxy )

Method Details

batchActionDelete() public method

execute a batch delete
public batchActionDelete ( Sonata\AdminBundle\Datagrid\ProxyQueryInterface $query ) : RedirectResponse
$query Sonata\AdminBundle\Datagrid\ProxyQueryInterface
return Symfony\Component\HttpFoundation\RedirectResponse

createAction() public method

public createAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response | Response
return Symfony\Bundle\FrameworkBundle\Controller\Response | Symfony\Component\HttpFoundation\Response

deleteAction() public method

public deleteAction ( mixed $id ) : Response | RedirectResponse
$id mixed
return Symfony\Component\HttpFoundation\Response | Symfony\Component\HttpFoundation\RedirectResponse

doBatchDelete() protected method

protected doBatchDelete ( Sonata\AdminBundle\Datagrid\ProxyQueryInterface $queryProxy )
$queryProxy Sonata\AdminBundle\Datagrid\ProxyQueryInterface

listAction() public method

return the Response object associated to the list action
public listAction ( ) : Symfony\Bundle\FrameworkBundle\Controller\Response | Response
return Symfony\Bundle\FrameworkBundle\Controller\Response | Symfony\Component\HttpFoundation\Response

redirectTo() public method

redirect the user depend on this choice
public redirectTo ( object $object ) : Response
$object object
return Symfony\Component\HttpFoundation\Response

refreshListAction() public method

public refreshListAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

showAction() public method

public showAction ( null $id = null ) : Symfony\Bundle\FrameworkBundle\Controller\Response
$id null
return Symfony\Bundle\FrameworkBundle\Controller\Response