Method | Description | |
---|---|---|
deleteAction ( |
Delete entity | |
disableAction ( |
Disable entity | |
editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Page\Entity\Interfaces\PageInterface $page, 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. |
Method | Description | |
---|---|---|
canBeDeactivated ( Elcodi\Component\Page\Entity\Interfaces\PageInterface $page ) | Check the entity for activation capabilities |
public deleteAction ( |
||
$request | Request | |
$entity | mixed | Entity to delete |
$redirectPath | string | Redirect path |
return | Redirect response |
public disableAction ( |
||
$request | Request | |
$page | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to disable |
return | array | Result |
public editAction ( Symfony\Component\Form\FormInterface $form, Elcodi\Component\Page\Entity\Interfaces\PageInterface $page, boolean $isValid ) : |
||
$form | Symfony\Component\Form\FormInterface | Form |
$page | Elcodi\Component\Page\Entity\Interfaces\PageInterface | Page |
$isValid | boolean | Is valid |
return | Redirect response |
public enableAction ( |
||
$request | Request | |
$page | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to enable |
return | array | Result |