예제 #1
0
 /**
  * Adds the given classes to attributes
  *
  * @param array $classes
  * @return $this 
  * @static 
  */
 public static function addClass($classes)
 {
     //Method inherited from \Bootstrapper\RenderedObject
     return \Bootstrapper\DropdownButton::addClass($classes);
 }
 public function testWrongAttributes()
 {
     $this->setExpectedException('InvalidArgumentException');
     $dropdown = DropdownButton::normal('foo', array(), 'bar');
 }