메소드 |
설명 |
|
__construct ( Silex\Application $app ) |
|
|
countWidgets ( string $location = null, string $zone = Zone::FRONTEND ) : integer |
Return the number of widgets in the queue for a given type / location. |
|
getWidgets ( ) : array |
Gets a list of the registered widgets. |
|
hasWidgets ( string $location = null, string $zone = Zone::FRONTEND ) : boolean |
Check if a type / location has widgets in the queue. |
|
widgets ( string $location = null, string $zone = Zone::FRONTEND, string $wrapper = 'widgetwrapper.twig' ) : string | Twig_Markup |
Renders a particular widget type on the given location. |
|