PHP 클래스 Elcodi\Plugin\CustomShippingBundle\Controller\CarrierController

상속: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
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