init() public method

Initializes the widget.
public init ( )
 /**
  * Initializes the widget.
  */
 public function init()
 {
     $this->tagName = 'button';
     $this->options['type'] = 'submit';
     parent::init();
 }