Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Elcodi
Admin
BannerBundle
Controller
BannerController
viewComponentAction
Elcodi\Admin\BannerBundle\Controller\BannerController::viewComponentAction PHP Метод
Документация по классу BannerController
Показать файл
Открыть проект
viewComponentAction()
публичный
Метод
As a component, this action should not return all the html macro, but only the specific component
public
viewComponentAction
(
Elcodi\Component\Banner\Entity\Interfaces\BannerInterface
$entity
) :
array
$entity
Elcodi\Component\Banner\Entity\Interfaces\BannerInterface
Entity to view
Результат
array
Result
public function viewComponentAction(BannerInterface $entity) { return ['entity' => $entity]; }
BannerController
deleteAction
disableAction
editAction
editComponentAction
enableAction
listAction
listComponentAction
navAction
newAction
newComponentAction
saveAction
updateAction
viewAction
viewComponentAction