[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch




/phpbb/files/types/ -> remote.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 207 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

remote:: (4 methods):

Class: remote  - X-Ref

__construct(config $config, factory $factory, language $language, IniGetWrapper $php_ini, request_interface $request, $phpbb_root_path)   X-Ref
Construct a form upload type

param: config $config phpBB config
param: factory $factory Files factory
param: language $language Language class
param: IniGetWrapper $php_ini ini_get() wrapper
param: request_interface $request Request object
param: string $phpbb_root_path phpBB root path

upload()   X-Ref

remote_upload($upload_url)   X-Ref
Remote upload method
Uploads file from given url

return: filespec $file Object "filespec" is returned, all further operations can be done with this object
param: string $upload_url URL pointing to file to upload, for example http://www.foobar.com/example.gif

get_max_file_size()   X-Ref
Get maximum file size for remote uploads

return: int Maximum file size

Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1