Revision 4b219dfd
Added by Sjon Hortensius over 10 years ago
usr/local/www/classes/Form.class.php | ||
---|---|---|
80 | 80 |
return $input; |
81 | 81 |
} |
82 | 82 |
|
83 |
public function setMultipartEncoding() |
|
84 |
{ |
|
85 |
$this->_attributes['enctype'] = 'multipart/form-data'; |
|
86 |
|
|
87 |
return $this; |
|
88 |
} |
|
89 |
|
|
83 | 90 |
protected function _setParent() |
84 | 91 |
{ |
85 | 92 |
throw new Exception('Form does not have a parent'); |
Also available in: Unified diff
introduce Form::setMultipartEncoding() for uploading files