PHP Interface Sulu\Bundle\AdminBundle\Widgets\WidgetsHandlerInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
addWidget ( Sulu\Bundle\AdminBundle\Widgets\WidgetInterface $widget, string $alias ) add an widget to rendering process.
hasWidgetGroup ( $groupAlias ) : mixed return true of widget group exists.
render ( array $aliases, array $parameters = [] ) : string renders widgets for given aliases.
renderWidgetGroup ( string $groupAlias, array $parameters = [] ) : string renders a widget group.

Method Details

addWidget() public méthode

add an widget to rendering process.
public addWidget ( Sulu\Bundle\AdminBundle\Widgets\WidgetInterface $widget, string $alias )
$widget Sulu\Bundle\AdminBundle\Widgets\WidgetInterface
$alias string

hasWidgetGroup() public méthode

return true of widget group exists.
public hasWidgetGroup ( $groupAlias ) : mixed
$groupAlias
Résultat mixed

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