widget() public static method
Creates a widget instance and runs it.
The widget rendering result is returned by this method.
| public static string widget ( $config = [] ) | ||
|---|---|---|
| $config | array |
Name-value pairs that will be used to initialize the object properties |
| return | string |
The rendering result of the widget. |
| throws | Exception | |
Please login to continue.