Method | Description | |
---|---|---|
deleteAction ( |
Delete entity | |
disableAction ( |
Disable entity | |
editAction ( integer $id ) : array | New element action | |
editComponentAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity, Symfony\Component\Form\FormView $formView ) : array | New element component action | |
enableAction ( |
Enable entity | |
listAction ( integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array | List elements of certain entity type. | |
listComponentAction ( Doctrine\ORM\Tools\Pagination\Paginator $paginator, Mmoreram\ControllerExtraBundle\ValueObject\PaginatorAttributes $paginatorAttributes, integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array | Component for entity list. | |
newAction ( ) : array | New element action | |
newComponentAction ( Symfony\Component\Form\FormView $formView ) : array | New element action | |
saveAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
Save new element action | |
updateAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
Updated edited element action | |
viewAction ( integer $id ) : array | View element action. | |
viewComponentAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity ) : array | Component for entity view |
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 editComponentAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity, Symfony\Component\Form\FormView $formView ) : array | ||
$entity | Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface | Entity |
$formView | Symfony\Component\Form\FormView | Form view |
return | array | Result |
public enableAction ( |
||
$request | Request | |
$entity | Elcodi\Component\Core\Entity\Interfaces\EnabledInterface | Entity to enable |
return | array | Result |
public listComponentAction ( Doctrine\ORM\Tools\Pagination\Paginator $paginator, Mmoreram\ControllerExtraBundle\ValueObject\PaginatorAttributes $paginatorAttributes, integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array | ||
$paginator | Doctrine\ORM\Tools\Pagination\Paginator | Paginator instance |
$paginatorAttributes | Mmoreram\ControllerExtraBundle\ValueObject\PaginatorAttributes | Paginator attributes |
$page | integer | Page |
$limit | integer | Limit of items per page |
$orderByField | string | Field to order by |
$orderByDirection | string | Direction to order by |
return | array | Result |
public newComponentAction ( Symfony\Component\Form\FormView $formView ) : array | ||
$formView | Symfony\Component\Form\FormView | Form view |
return | array | Result |
public saveAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
||
$entity | Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface | Entity to save |
$form | Symfony\Component\Form\FormInterface | Form view |
$isValid | boolean | Request handle is valid |
return | Redirect response |
public updateAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity, Symfony\Component\Form\FormInterface $form, boolean $isValid ) : |
||
$entity | Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface | 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 |
public viewComponentAction ( Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface $entity ) : array | ||
$entity | Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface | Entity to view |
return | array | Result |