src/bundles/UI/Form.php
public static function make_input( $id, $key, $value = null, $type = 'text', $attr = array() ) 
	{
		$element = HTML::tag( 'input', array_merge( array( 
			'id' => $id, 
			'name' => $key, 
			'type' => $type 
		), $attr ));

		if ( !is_null( $value ) )
		{
			$element->value( _e( $value ) );
		}

		if ( !static::$builder_enabled )
		{
			 return $element;
		}

		return Builder::handle( 'form_input', $element );
	}
public static function make_input( $id, $key, $value = null, $type = 'text', $attr = array() ) 
	{
		$element = HTML::tag( 'input', array_merge( array( 
			'id' => $id, 
			'name' => $key, 
			'type' => $type 
		), $attr ));

		if ( !is_null( $value ) )
		{
			$element->value( _e( $value ) );
		}

		if ( !static::$builder_enabled )
		{
			 return $element;
		}

		return Builder::handle( 'form_input', $element );
	}
public static function make_input ( $ id , $ key , $ value = null , $ type = 'text' , $ attr = array ( ) ) { $ element = HTML :: tag ( 'input' , array_merge ( array ( 'id' => $ id , 'name' => $ key , 'type' => $ type ) , $ attr ) ) ; if ( ! is_null ( $ value ) ) { $ element -> value ( _e ( $ value ) ) ; } if ( ! static :: $ builder_enabled ) { return $ element ; } return Builder :: handle ( 'form_input' , $ element ) ; }
make an input

@param string		$id			The id that has been generated for us.
@param string 	$key			This is the name
@param string		$type
@param array 		$attr
make an input