PHP Класс Elcodi\Plugin\CustomShippingBundle\Controller\ShippingRangeController

Наследование: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

deleteAction() публичный Метод

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
Результат Symfony\Component\HttpFoundation\RedirectResponse Redirect response

editAction() публичный Метод

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
Результат Symfony\Component\HttpFoundation\RedirectResponse Redirect response