public static function buildInput($name, $value=NULL, $type='text', $attributes=array()) {

		$control = new FormControlInput($name, $attributes);
		$control->setType($type)->setValue($value);
		
		return $control->render();
		
	}
public static function buildInput($name, $value=NULL, $type='text', $attributes=array()) {

		$control = new FormControlInput($name, $attributes);
		$control->setType($type)->setValue($value);
		
		return $control->render();
		
	}
public static function buildInput ( $ name , $ value = NULL , $ type = 'text' , $ attributes = array ( ) ) { $ control = new FormControlInput ( $ name , $ attributes ) ; $ control -> setType ( $ type ) -> setValue ( $ value ) ; return $ control -> render ( ) ; }
Creates an HTML input form control.

@param	string	HTML name for this control.
@param	string	Default value (NULL default).
@param	string	Type (text -default-, email, tel, url, color, password, number, bool, date, datetime, file, address, hidden).
@param	string	More parameters as associative array tag=>value (optional).

@return	string
Creates an HTML input form control .