src/Flowcode/ShopBundle/Controller/AdminProductOrderStatusController.php
/**
     * Creates a form to create a ProductOrderStatus entity.
     *
     * @param ProductOrderStatus $entity The entity
     *
     * @return \Symfony\Component\Form\Form The form
     */
Creates a form to create a ProductOrderStatus entity.
@param ProductOrderStatus $entity The entity

@return \Symfony\Component\Form\Form The form
Creates a form to create a ProductOrderStatus entity . @param ProductOrderStatus $entity The entity @return \ Symfony \ Component \ Form \ Form The form
private function createCreateForm(ProductOrderStatus $entity)
    {
        $form = $this->createForm($this->get("amulen.shop.form.productorderstatus"), $entity, array(
            'action' => $this->generateUrl('admin_orderstatus_create'),
            'method' => 'POST',
        ));
        $form->add('submit', 'submit', array('label' => 'Create'));
        return $form;
    }
private function createCreateForm ( ProductOrderStatus $ entity ) { $ form = $ this -> createForm ( $ this -> get ( " amulen.shop.form.productorderstatus " ) , $ entity , array ( 'action' => $ this -> generateUrl ( 'admin_orderstatus_create' ) , 'method' => 'POST' , ) ) ; $ form -> add ( 'submit' , 'submit' , array ( 'label' => 'Create' ) ) ; return $ form ; }
Creates a form to create a ProductOrderStatus entity.
Creates a form to create a ProductOrderStatus entity .