PHP Class Sulu\Bundle\AdminBundle\Widgets\WidgetsHandler

Inheritance: implements Sulu\Bundle\AdminBundle\Widgets\WidgetsHandlerInterface
Afficher le fichier Open project: sulu/sulu

Protected Properties

Свойство Type Description
$header string
$template string
$templateEngine Symfony\Component\Templating\EngineInterface
$widgetGroups array
$widgets Sulu\Bundle\AdminBundle\Widgets\WidgetInterface[]

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Templating\EngineInterface $templateEngine, $widgetGroups )
addWidget ( Sulu\Bundle\AdminBundle\Widgets\WidgetInterface $widget, $alias )
hasWidgetGroup ( $groupAlias )
render ( array $aliases, array $parameters = [] ) : string renders widgets for given aliases.
renderWidgetGroup ( string $groupAlias, array $parameters = [] ) : string renders a widget group.

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Templating\EngineInterface $templateEngine, $widgetGroups )
$templateEngine Symfony\Component\Templating\EngineInterface

addWidget() public méthode

public addWidget ( Sulu\Bundle\AdminBundle\Widgets\WidgetInterface $widget, $alias )
$widget Sulu\Bundle\AdminBundle\Widgets\WidgetInterface

hasWidgetGroup() public méthode

public hasWidgetGroup ( $groupAlias )

render() public méthode

renders widgets for given aliases.
public render ( array $aliases, array $parameters = [] ) : string
$aliases array
$parameters array
Résultat string

renderWidgetGroup() public méthode

renders a widget group.
public renderWidgetGroup ( string $groupAlias, array $parameters = [] ) : string
$groupAlias string
$parameters array
Résultat string

Property Details

$header protected_oe property

protected string $header
Résultat string

$template protected_oe property

protected string $template
Résultat string

$templateEngine protected_oe property

protected EngineInterface,Symfony\Component\Templating $templateEngine
Résultat Symfony\Component\Templating\EngineInterface

$widgetGroups protected_oe property

protected array $widgetGroups
Résultat array

$widgets protected_oe property

protected WidgetInterface[],Sulu\Bundle\AdminBundle\Widgets $widgets
Résultat Sulu\Bundle\AdminBundle\Widgets\WidgetInterface[]