Method | Description | |
---|---|---|
deleteAction ( |
Delete entity | |
disableAction ( |
Disable entity | |
editAction ( integer $id ) : array | New element action | |
enableAction ( |
Enable entity | |
listAction ( integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array | List elements of certain entity type. | |
newAction ( ) : array | New element action | |
saveAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
Save new element action | |
updateAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
Updated edited element action | |
viewAction ( integer $id ) : array | View element action. |
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 ( integer $id ) : array | ||
$id | integer | Entity id |
return | array | Result |
public enableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to enable |
return | array | Result |
public saveAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
||
$entity | Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface | Entity to save |
$form | Symfony\Component\Form\FormInterface | Form view |
$isValid | boolean | Request handle is valid |
return | Redirect response |
public updateAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
||
$entity | Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface | Entity to update |
$form | Symfony\Component\Form\FormInterface | Form view |
$isValid | boolean | Request handle is valid |
return | Redirect response |
public viewAction ( integer $id ) : array | ||
$id | integer | Entity id |
return | array | Result |