local
class local extends base
Properties
protected language | $language | ||
protected IniGetWrapper | $php_ini | ||
protected upload | $upload | ||
protected factory | $factory | ||
protected request_interface | $request |
Methods
from
base
__construct(factory $factory, 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.
local_upload(string $source_file, array|bool $filedata = false)
Move file from another location to phpBB
array
get_upload_ary(string $source_file, array $filedata)
Retrieve upload array
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 47
__construct(factory $factory, language $language, IniGetWrapper $php_ini, request_interface $request)
Construct a form upload type
at line 58
filespec|bool
upload()
Handle upload for upload types. Arguments passed to this method will be handled by the upload type classes themselves.
at line 72
protected filespec
local_upload(string $source_file, array|bool $filedata = false)
Move file from another location to phpBB
at line 115
protected array
get_upload_ary(string $source_file, array $filedata)
Retrieve upload array