public function addInput($name, $attributes = array()) {

		$control = new FormControlInput($name, $attributes);
		$this->addControl($control);
		
		return $control;
		
	}
public function addInput($name, $attributes = array()) {

		$control = new FormControlInput($name, $attributes);
		$this->addControl($control);
		
		return $control;
		
	}
public function addInput ( $ name , $ attributes = array ( ) ) { $ control = new FormControlInput ( $ name , $ attributes ) ; $ this -> addControl ( $ control ) ; return $ control ; }
Adds an FormControlInput object to this Form object. Default type is Text.
Chainable method.

@param	string	Control name.
@param	array	List of attributes.

@return	FormControlInput
Adds an FormControlInput object to this Form object . Default type is Text . Chainable method .