public function removeControl($name) {
		
		if (substr($name, -2) == '[]') {
			$name = substr($name, 0, -2);
		}
		
		if (!$this->controlExists($name)) {
			return FALSE;
		}
		
		unset($this->controls[$name]);
		return TRUE;
		
	}
public function removeControl($name) {
		
		if (substr($name, -2) == '[]') {
			$name = substr($name, 0, -2);
		}
		
		if (!$this->controlExists($name)) {
			return FALSE;
		}
		
		unset($this->controls[$name]);
		return TRUE;
		
	}
public function removeControl ( $ name ) { if ( substr ( $ name , - 2 ) == '[]' ) { $ name = substr ( $ name , 0 , - 2 ) ; } if ( ! $ this -> controlExists ( $ name ) ) { return FALSE ; } unset ( $ this -> controls [ $ name ] ) ; return TRUE ; }
Remove a control form a Form object.

@param	string	Control name.

@return	bool
Remove a control form a Form object .