public function & RemoveField ($fieldOrFieldName = NULL) {
		/** @var $this \MvcCore\Ext\Forms\IForm */
		if ($this->dispatchState < 1) $this->Init();
		$fieldName = NULL;
		if ($fieldOrFieldName instanceof \MvcCore\Ext\Forms\IField) {
			$fieldName = $fieldOrFieldName->GetName();
		} else if (is_string($fieldOrFieldName)) {
			$fieldName = $fieldOrFieldName;
		}
		if (isset($this->fields[$fieldName]))
			unset($this->fields[$fieldName]);
		return $this;
	}
public function & RemoveField ($fieldOrFieldName = NULL) {
		/** @var $this \MvcCore\Ext\Forms\IForm */
		if ($this->dispatchState < 1) $this->Init();
		$fieldName = NULL;
		if ($fieldOrFieldName instanceof \MvcCore\Ext\Forms\IField) {
			$fieldName = $fieldOrFieldName->GetName();
		} else if (is_string($fieldOrFieldName)) {
			$fieldName = $fieldOrFieldName;
		}
		if (isset($this->fields[$fieldName]))
			unset($this->fields[$fieldName]);
		return $this;
	}
public function & RemoveField ( $ fieldOrFieldName = NULL ) { /** @var $this \MvcCore\Ext\Forms\IForm */ if ( $ this -> dispatchState < 1 ) $ this -> Init ( ) ; $ fieldName = NULL ; if ( $ fieldOrFieldName instanceof \ MvcCore \ Ext \ Forms \ IField ) { $ fieldName = $ fieldOrFieldName -> GetName ( ) ; } else if ( is_string ( $ fieldOrFieldName ) ) { $ fieldName = $ fieldOrFieldName ; } if ( isset ( $ this -> fields [ $ fieldName ] ) ) unset ( $ this -> fields [ $ fieldName ] ) ; return $ this ; }
Remove configured form field instance by given instance or given field name.
If field is not found by it's name, no error happened.
@param \MvcCore\Ext\Forms\IField|string $fieldOrFieldName
@return \MvcCore\Ext\Form|\MvcCore\Ext\Forms\IForm
Remove configured form field instance by given instance or given field name . If field is not found by it s name no error happened .