Ojs\AdminBundle\Controller\AdminIndexController::editAction PHP 메소드

editAction() 공개 메소드

Displays a form to edit an existing Index entity.
public editAction ( Ojs\JournalBundle\Entity\Index $entity ) : Response
$entity Ojs\JournalBundle\Entity\Index
리턴 Symfony\Component\HttpFoundation\Response
    public function editAction(Index $entity)
    {
        $this->throw404IfNotFound($entity);
        $editForm = $this->createEditForm($entity)->add('save', 'submit');
        return $this->render('OjsAdminBundle:AdminIndex:edit.html.twig', array('entity' => $entity, 'edit_form' => $editForm->createView()));
    }