Exemplo n.º 1
0
 public function __construct($name = null, Mesour\Components\ComponentModel\IContainer $parent = null)
 {
     $this->defaults[self::WRAPPER]['attributes']['class'] = false;
     $this->defaults[self::WRAPPER]['attributes']['role'] = 'menuitem';
     $this->defaults[self::WRAPPER]['attributes']['tabindex'] = '-1';
     parent::__construct($name, $parent);
 }
Exemplo n.º 2
0
 public function __construct($name = null, Mesour\Components\ComponentModel\IContainer $parent = null)
 {
     $this->defaults[self::WRAPPER]['el'] = 'button';
     $this->defaults[self::WRAPPER]['attributes']['data-dismiss'] = 'modal';
     $this->setText('Close');
     parent::__construct($name, $parent);
 }
Exemplo n.º 3
0
 public function __construct($name = null, Mesour\Components\ComponentModel\IContainer $parent = null)
 {
     $this->defaults[self::WRAPPER]['el'] = 'button';
     $this->defaults[self::WRAPPER]['attributes']['data-toggle'] = 'dropdown';
     parent::__construct($name, $parent);
 }