Method | Description | |
---|---|---|
deleteAction ( |
Delete entity | |
disableAction ( |
Disable entity | |
editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Product\Entity\Interfaces\CategoryInterface $category, boolean $isValid, |
Edit and Saves category | |
enableAction ( |
Enable entity | |
listAction ( ) : array | List elements of certain entity type. |
public deleteAction ( |
||
$request | Request | |
$entity | mixed | Entity to delete |
$redirectPath | string | Redirect path |
return | Redirect response |
public disableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to disable |
return | array | Result |
public editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Product\Entity\Interfaces\CategoryInterface $category, boolean $isValid, |
||
$form | Symfony\Component\Form\FormInterface | Form |
$category | Elcodi\Component\Product\Entity\Interfaces\CategoryInterface | Category |
$isValid | boolean | Is valid |
$request | Request | |
return | Redirect response |
public enableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to enable |
return | array | Result |
public listAction ( ) : array | ||
return | array | Result |