PHP 클래스 Elcodi\Admin\ProductBundle\Controller\Component\CategoryComponentController

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

공개 메소드들

메소드 설명
editComponentAction ( Symfony\Component\Form\FormView $formView, Elcodi\Component\Product\Entity\Interfaces\CategoryInterface $category ) : array New element component action
listComponentAction ( ) : array Component for entity list.
sortComponentAction ( Request $request ) : array Sorts the categories with the given orders.

메소드 상세

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\Product\Entity\Interfaces\CategoryInterface $category ) : array
$formView Symfony\Component\Form\FormView Form view
$category Elcodi\Component\Product\Entity\Interfaces\CategoryInterface Category
리턴 array Result

listComponentAction() 공개 메소드

As a component, this action should not return all the html macro, but only the specific component
public listComponentAction ( ) : array
리턴 array Result

sortComponentAction() 공개 메소드

Sorts the categories with the given orders.
public sortComponentAction ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request The user request.
리턴 array Result