PHP Class Newscoop\GimmeBundle\Controller\ConfigureApiController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Mostrar archivo Open project: sourcefabric/newscoop

Public Methods

Method Description
configureAction ( Request $request ) : array

Private Methods

Method Description
addClient ( Request $request ) : RedirectResponse Add client to database (handle form submission)
configurePublicResources ( Request $request ) : RedirectResponse Save public resources in database (handle form submission)
getClientForm ( Client $client = null ) : Form Get form
getPublicResourcesForm ( ) : Form Get form
getRemoveClientForm ( ) : Form Get form
removeClient ( Request $request ) : mixed Remove client (handle form submission)

Method Details

configureAction() public method

public configureAction ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
return array