interface type_interface

Methods

filespec|bool
upload()

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

set_upload(upload $upload)

Set upload instance Needs to be executed before every upload.

Details

at line 27
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
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