phpBB API Documentation
Interface

phpbb\files\types\type_interface

interface type_interface

Methods

filespec|bool upload()

Handle upload for upload types.

type_interface set_upload(upload $upload)

Set upload instance Needs to be executed before every upload.

Details

at line 27
public filespec|bool upload()

Handle upload for upload types.

Arguments passed to this method will be handled by the upload type classes themselves.

Return Value

filespec|bool Filespec instance if upload is successful or false if not

at line 37
public type_interface set_upload(upload $upload)

Set upload instance Needs to be executed before every upload.

Parameters

upload $upload Upload instance

Return Value

type_interface Returns itself