PHP Class Elcodi\Admin\PageBundle\Controller\Component\BlogPostComponentController

Inheritance: extends Elcodi\Admin\CoreBundle\Controller\Abstracts\AbstractAdminController
Show file Open project: elcodi/bamboo

Public Methods

Method Description
editComponentAction ( Symfony\Component\Form\FormView $formView, Elcodi\Component\Page\Entity\Interfaces\PageInterface $blogPost ) : 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 ( Symfony\Component\Form\FormView $formView, Elcodi\Component\Page\Entity\Interfaces\PageInterface $blogPost ) : array
$formView Symfony\Component\Form\FormView Form view
$blogPost Elcodi\Component\Page\Entity\Interfaces\PageInterface Page
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