src/Cpm/JovenesBundle/Controller/PresentacionExternaController.php
/**
     * Displays a form to edit an existing PresentacionExterna entity.
     *
     * @Route("/{id}/edit", name="presentacionexterna_edit")
     * @Template()
     */
Displays a form to edit an existing PresentacionExterna entity.
Displays a form to edit an existing PresentacionExterna entity .
public function editAction($id)
    {
        $em = $this->getDoctrine()->getEntityManager();
        $entity = $this->getEntityForUpdate('CpmJovenesBundle:PresentacionExterna',$id);
        $editForm = $this->createForm(new PresentacionExternaType($this->getEstadosManager()), $entity);
        return array(
            'entity'      => $entity,
            'edit_form'   => $editForm->createView(),
        );
    }
public function editAction ( $ id ) { $ em = $ this -> getDoctrine ( ) -> getEntityManager ( ) ; $ entity = $ this -> getEntityForUpdate ( 'CpmJovenesBundle:PresentacionExterna' , $ id ) ; $ editForm = $ this -> createForm ( new PresentacionExternaType ( $ this -> getEstadosManager ( ) ) , $ entity ) ; return array ( 'entity' => $ entity , 'edit_form' => $ editForm -> createView ( ) , ) ; }
Displays a form to edit an existing PresentacionExterna entity.
Displays a form to edit an existing PresentacionExterna entity .