);
} /**
* Creates a new widget
*
* @param string $name
*/
public function createWidget($name) { $widget =
new Widget();
$widget->
setName($name);
$widget->
setPlugin($this->
Plugin());
$this->
Plugin()->
getWidgets()->
add($widget);
} /**
* {@inheritdoc}
*/
public function subscribeEvent($event,
$listener = null,
$position = null
) {