remote
class remote extends base
Properties
protected language | $language | ||
protected IniGetWrapper | $php_ini | ||
protected upload | $upload | from base | |
protected config | $config | ||
protected factory | $factory | ||
protected temp | $temp | ||
protected request_interface | $request |
Methods
from
base
__construct(config $config, factory $factory, temp $temp, language $language, IniGetWrapper $php_ini, request_interface $request)
Construct a form upload type
filespec|bool
upload()
Handle upload for upload types. Arguments passed to this method will be handled by the upload type classes themselves.
remote_upload(string $upload_url)
Remote upload method Uploads file from given url
int
get_max_file_size()
Get maximum file size for remote uploads
Details
in
base at line 34
filespec
check_upload_size(filespec $file)
Check if upload exceeds maximum file size
in
base at line 59
type_interface
set_upload(upload $upload)
Set upload instance Needs to be executed before every upload.
at line 54
__construct(config $config, factory $factory, temp $temp, language $language, IniGetWrapper $php_ini, request_interface $request)
Construct a form upload type
at line 67
filespec|bool
upload()
Handle upload for upload types. Arguments passed to this method will be handled by the upload type classes themselves.
at line 81
protected filespec
remote_upload(string $upload_url)
Remote upload method Uploads file from given url
at line 176
protected int
get_max_file_size()
Get maximum file size for remote uploads