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

Наследование: 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, boolean $isValid ) : RedirectResponse Edit and Saves category
listAction ( ) : array List elements of certain entity type.

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

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, boolean $isValid ) : RedirectResponse
$form Symfony\Component\Form\FormInterface Form
$carrier Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\CarrierInterface Carrier
$isValid boolean Is valid
Результат Symfony\Component\HttpFoundation\RedirectResponse Redirect response

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

This action is just a wrapper, so should never get any data, as this is component responsibility
public listAction ( ) : array
Результат array Result