Méthode | Description | |
---|---|---|
deleteAction ( |
Delete entity | |
disableAction ( |
Disable entity | |
editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface $coupon, boolean $isValid ) : |
Edit and Saves page | |
enableAction ( |
Enable entity | |
listAction ( integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array | List elements of certain entity type. |
public deleteAction ( |
||
$request | Request | |
$entity | mixed | Entity to delete |
$redirectPath | string | Redirect path |
Résultat | Redirect response |
public disableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to disable |
Résultat | array | Result |
public editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface $coupon, boolean $isValid ) : |
||
$form | Symfony\Component\Form\FormInterface | Form |
$coupon | Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface | Coupon |
$isValid | boolean | Request handle is valid |
Résultat | Redirect response |
public enableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to enable |
Résultat | array | Result |