PHP Класс Elcodi\Admin\AttributeBundle\Controller\Component\AttributeComponentController

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

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

Метод Описание
editComponentAction ( Symfony\Component\Form\FormView $formView, Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface $attribute ) : array New element component action
listComponentAction ( Doctrine\ORM\Tools\Pagination\Paginator $paginator, Mmoreram\ControllerExtraBundle\ValueObject\PaginatorAttributes $paginatorAttributes, integer $page, integer $limit ) : array Component for entity list.

Защищенные методы

Метод Описание
getValuesSplittedByComma ( array $values = null ) : string Get values splitted by comma

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

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

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\Attribute\Entity\Interfaces\AttributeInterface $attribute ) : array
$formView Symfony\Component\Form\FormView Form view
$attribute Elcodi\Component\Attribute\Entity\Interfaces\AttributeInterface Attribute
Результат array Result

getValuesSplittedByComma() защищенный Метод

Get values splitted by comma
protected getValuesSplittedByComma ( array $values = null ) : string
$values array Values
Результат string Values splitted by comma

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