Ajax/semantic/html/elements/HtmlButton.php
public static function dropdown($identifier,$value,$items=[],$asCombo=false,$icon=null){
		$result=new HtmlButtonGroups($identifier,[$value]);
		$dd=$result->addDropdown($items,$asCombo);
		if(isset($icon) && $dd instanceof HtmlDropdown)
			$dd->setIcon($icon);
		return $result;
	}
public static function dropdown($identifier,$value,$items=[],$asCombo=false,$icon=null){
		$result=new HtmlButtonGroups($identifier,[$value]);
		$dd=$result->addDropdown($items,$asCombo);
		if(isset($icon) && $dd instanceof HtmlDropdown)
			$dd->setIcon($icon);
		return $result;
	}
public static function dropdown ( $ identifier , $ value , $ items = [ ] , $ asCombo = false , $ icon = null ) { $ result = new HtmlButtonGroups ( $ identifier , [ $ value ] ) ; $ dd = $ result -> addDropdown ( $ items , $ asCombo ) ; if ( isset ( $ icon ) && $ dd instanceof HtmlDropdown ) $ dd -> setIcon ( $ icon ) ; return $ result ; }
Returns a button with a dropdown button
@param string $identifier
@param string $value
@param array $items
@param boolean $asCombo
@param string $icon
@return HtmlButtonGroups
Returns a button with a dropdown button