public static function buildButton($value,  $type='submit', $name=NULL, $attributes=array(), $faIcon=NULL) {

		$control = new FormControlButton($name, $attributes);
		$control->setValue($value)->setType($type)->setFaIcon($faIcon);
		
		return $control->render();

	}
public static function buildButton($value,  $type='submit', $name=NULL, $attributes=array(), $faIcon=NULL) {

		$control = new FormControlButton($name, $attributes);
		$control->setValue($value)->setType($type)->setFaIcon($faIcon);
		
		return $control->render();

	}
public static function buildButton ( $ value , $ type = 'submit' , $ name = NULL , $ attributes = array ( ) , $ faIcon = NULL ) { $ control = new FormControlButton ( $ name , $ attributes ) ; $ control -> setValue ( $ value ) -> setType ( $ type ) -> setFaIcon ( $ faIcon ) ; return $ control -> render ( ) ; }
Creates an HTML button form control prepending an optional icon.

@param	string	Text for the button.
@param	string	Type (submit -default-, button, reset).
@param	string	HTML name for this control (optional).
@param	string	More parameters as associative array tag=>value (optional).
@param	string	Name of Font Awesome icon class (optional).

@return	string
Creates an HTML button form control prepending an optional icon .