Метод | Описание | |
---|---|---|
deleteAction ( |
Delete entity | |
disableAction ( |
Disable entity | |
editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Product\Entity\Interfaces\ManufacturerInterface $manufacturer, boolean $isValid, |
Edit and Saves manufacturer | |
enableAction ( |
Enable entity | |
listAction ( |
List elements of certain entity type. |
public deleteAction ( |
||
$request | Request | |
$entity | mixed | Entity to delete |
$redirectPath | string | Redirect path |
Результат | Redirect response |
public disableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to disable |
Результат | array | Result |
public editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Product\Entity\Interfaces\ManufacturerInterface $manufacturer, boolean $isValid, |
||
$form | Symfony\Component\Form\FormInterface | Form |
$manufacturer | Elcodi\Component\Product\Entity\Interfaces\ManufacturerInterface | Manufacturer |
$isValid | boolean | Is valid |
$request | Request | |
Результат | Redirect response |
public enableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to enable |
Результат | array | Result |
public listAction ( |
||
$request | Request | |
$page | integer | Page |
$limit | integer | Limit of items per page |
$orderByField | string | Field to order by |
$orderByDirection | string | Direction to order by |
Результат | array | Result |