/** * Runs the widget. */ public function run() { echo BSHtml::closeTag($this->tagName); $selector = '#' . $this->htmlOptions['id']; $this->registerEvents($selector, $this->events); }