public function createUploadForm($model = null, $options = []) {
		if (empty($options) || !is_array($options)) {
			$options = [];
		}
		$optionsDefault = $this->_getOptionsForElem('createUploadForm');
		$options = $this->ViewExtension->getFormOptions($optionsDefault + $options);
		$result = $this->create($model, $options);

		return $result;
	}
public function createUploadForm($model = null, $options = []) {
		if (empty($options) || !is_array($options)) {
			$options = [];
		}
		$optionsDefault = $this->_getOptionsForElem('createUploadForm');
		$options = $this->ViewExtension->getFormOptions($optionsDefault + $options);
		$result = $this->create($model, $options);

		return $result;
	}
public function createUploadForm ( $ model = null , $ options = [ ] ) { if ( empty ( $ options ) || ! is_array ( $ options ) ) { $ options = [ ] ; } $ optionsDefault = $ this -> _getOptionsForElem ( 'createUploadForm' ) ; $ options = $ this -> ViewExtension -> getFormOptions ( $ optionsDefault + $ options ) ; $ result = $ this -> create ( $ model , $ options ) ; return $ result ; }
Returns an HTML FORM element for upload file.

### Options:

- `type` Form method defaults to POST
- `action`  The controller action the form submits to, (optional). Deprecated since 2.8, use `url`.
- `url`  The URL the form submits to. Can be a string or a URL array. If you use 'url'
you should leave 'action' undefined.
- `default`  Allows for the creation of AJAX forms. Set this to false to prevent the default event handler.
Will create an onsubmit attribute if it doesn't not exist. If it does, default action suppression
will be appended.
- `onsubmit` Used in conjunction with 'default' to create AJAX forms.
- `inputDefaults` set the default $options for FormHelper::input(). Any options that would
be set when using FormHelper::input() can be set here. Options set with `inputDefaults`
can be overridden when calling input()
- `encoding` Set the accept-charset encoding for the form. Defaults to `Configure::read('App.encoding')`

@param mixed|null $model The model name for which the form is being defined. Should
include the plugin name for plugin models. e.g. `ContactManager.Contact`.
If an array is passed and $options argument is empty, the array will be used as options.
If `false` no model is used.
@param array $options An array of html attributes and options.
@return string A formatted opening FORM tag.
@link https://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#options-for-create
Returns an HTML FORM element for upload file .