PHP Class Elcodi\Admin\CouponBundle\Controller\Component\CouponComponentController

Inheritance: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Datei anzeigen Open project: elcodi/bamboo

Public Methods

Method Description
editComponentAction ( Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface $coupon, Symfony\Component\Form\FormView $formView ) : array New 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.

Method Details

editComponentAction() public method

As a component, this action should not return all the html macro, but only the specific component
public editComponentAction ( Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface $coupon, Symfony\Component\Form\FormView $formView ) : array
$coupon Elcodi\Component\Coupon\Entity\Interfaces\CouponInterface Entity
$formView Symfony\Component\Form\FormView Form view
return array Result

listComponentAction() public method

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
return array Result