PHP Class Elcodi\Plugin\CustomShippingBundle\Controller\ShippingRangeController

Inheritance: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Show file Open project: elcodi/bamboo

Public Methods

Method Description
deleteAction ( Request $request, mixed $entity, string $redirectPath = null ) : RedirectResponse Delete entity
editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface $shippingRange, boolean $isValid ) : RedirectResponse Edit and Saves category

Method Details

deleteAction() public method

Delete entity
public deleteAction ( Request $request, mixed $entity, string $redirectPath = null ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request Request
$entity mixed Entity to delete
$redirectPath string Redirect path
return Symfony\Component\HttpFoundation\RedirectResponse Redirect response

editAction() public method

Edit and Saves category
public editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface $carrier, Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface $shippingRange, boolean $isValid ) : RedirectResponse
$form Symfony\Component\Form\FormInterface Form
$carrier Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Carrier
$shippingRange Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface Shipping range
$isValid boolean Is valid
return Symfony\Component\HttpFoundation\RedirectResponse Redirect response