src/Flowcode/ShopBundle/Controller/AdminProductItemFieldDataController.php
/**
     * Displays a form to create a new ProductItemFieldData entity.
     *
     * @Route("/new", name="admin_productitemfielddata_new")
     * @Method("GET")
     * @Template()
     */
Displays a form to create a new ProductItemFieldData entity.
Displays a form to create a new ProductItemFieldData entity .
public function newAction()
    {
        $productitemfielddata = new ProductItemFieldData();
        $form = $this->createForm($this->get("amulen.shop.form.product.item.field.data"), $productitemfielddata);
        return array(
            'productitemfielddata' => $productitemfielddata,
            'form' => $form->createView(),
        );
    }
public function newAction ( ) { $ productitemfielddata = new ProductItemFieldData ( ) ; $ form = $ this -> createForm ( $ this -> get ( " amulen.shop.form.product.item.field.data " ) , $ productitemfielddata ) ; return array ( 'productitemfielddata' => $ productitemfielddata , 'form' => $ form -> createView ( ) , ) ; }
Displays a form to create a new ProductItemFieldData entity.
Displays a form to create a new ProductItemFieldData entity .