src/Flowcode/ShopBundle/Controller/AdminProductItemFieldDataController.php
/**
     * Finds and displays a ProductItemFieldData entity.
     *
     * @Route("/{id}/show", name="admin_productitemfielddata_show", requirements={"id"="\d+"})
     * @Method("GET")
     * @Template()
     */
Finds and displays a ProductItemFieldData entity.
Finds and displays a ProductItemFieldData entity .
public function showAction(ProductItemFieldData $productitemfielddata)
    {
        $editForm = $this->createForm($this->get("amulen.shop.form.product.item.field.data"), $productitemfielddata, array(
            'action' => $this->generateUrl('admin_productitemfielddata_update', array('id' => $productitemfielddata->getid())),
            'method' => 'PUT',
        ));
        $deleteForm = $this->createDeleteForm($productitemfielddata->getId(), 'admin_productitemfielddata_delete');
        return array(
            'productitemfielddata' => $productitemfielddata, 'edit_form' => $editForm->createView(),
            'delete_form' => $deleteForm->createView(),
        );
    }
public function showAction ( ProductItemFieldData $ productitemfielddata ) { $ editForm = $ this -> createForm ( $ this -> get ( " amulen.shop.form.product.item.field.data " ) , $ productitemfielddata , array ( 'action' => $ this -> generateUrl ( 'admin_productitemfielddata_update' , array ( 'id' => $ productitemfielddata -> getid ( ) ) ) , 'method' => 'PUT' , ) ) ; $ deleteForm = $ this -> createDeleteForm ( $ productitemfielddata -> getId ( ) , 'admin_productitemfielddata_delete' ) ; return array ( 'productitemfielddata' => $ productitemfielddata , 'edit_form' => $ editForm -> createView ( ) , 'delete_form' => $ deleteForm -> createView ( ) , ) ; }
Finds and displays a ProductItemFieldData entity.
Finds and displays a ProductItemFieldData entity .