src/Netzmacht/Bootstrap/Buttons/Factory.php
public static function createDropdown($label, array $attributes = array(), $fromFieldset = false)
    {
        $dropdown = new Dropdown();
        $dropdown->setLabel($label);

        static::applyAttributes($dropdown, $attributes, $fromFieldset);

        return $dropdown;
    }
public static function createDropdown($label, array $attributes = array(), $fromFieldset = false)
    {
        $dropdown = new Dropdown();
        $dropdown->setLabel($label);

        static::applyAttributes($dropdown, $attributes, $fromFieldset);

        return $dropdown;
    }
public static function createDropdown ( $ label , array $ attributes = array ( ) , $ fromFieldset = false ) { $ dropdown = new Dropdown ( ) ; $ dropdown -> setLabel ( $ label ) ; static :: applyAttributes ( $ dropdown , $ attributes , $ fromFieldset ) ; return $ dropdown ; }
Create dropdown button.

@param string $label        Dropdown button.
@param array  $attributes   Additional html attributes.
@param bool   $fromFieldset Set true if attributes comes from fieldset definitions have to be transformed.

@return Dropdown
Create dropdown button .