PHP 클래스 Elcodi\Admin\NewsletterBundle\Controller\Component\NewsletterSubscriptionComponentController

상속: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
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