PHP Класс Elcodi\Admin\NewsletterBundle\Controller\Component\NewsletterSubscriptionComponentController

Наследование: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

editComponentAction() публичный Метод

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
Результат array Result

listComponentAction() публичный Метод

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
Результат array Result

newComponentAction() публичный Метод

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
Результат array Result

viewComponentAction() публичный Метод

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
Результат array Result