PHP Class Elcodi\Admin\NewsletterBundle\Controller\Component\NewsletterSubscriptionComponentController

Inheritance: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Afficher le fichier Open project: elcodi/bamboo

Méthodes publiques

Méthode Description
editComponentAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity, Symfony\Component\Form\FormView $formView ) : array Edit element component action
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.
newComponentAction ( Symfony\Component\Form\FormView $formView ) : array New element action
viewComponentAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity ) : array Component for entity view

Method Details

editComponentAction() public méthode

As a component, this action should not return all the html macro, but only the specific component
public editComponentAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity, Symfony\Component\Form\FormView $formView ) : array
$entity Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface Entity
$formView Symfony\Component\Form\FormView Form view
Résultat array Result

listComponentAction() public méthode

As a component, this action should not return all the html macro, but only the specific component
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
Résultat array Result

newComponentAction() public méthode

As a component, this action should not return all the html macro, but only the specific component
public newComponentAction ( Symfony\Component\Form\FormView $formView ) : array
$formView Symfony\Component\Form\FormView Form view
Résultat array Result

viewComponentAction() public méthode

As a component, this action should not return all the html macro, but only the specific component
public viewComponentAction ( Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface $entity ) : array
$entity Elcodi\Component\Newsletter\Entity\Interfaces\NewsletterSubscriptionInterface Entity to view
Résultat array Result