\FAA\Handler\UploaderJQueryFileUploader

Summary

Methods
Properties
Constants
__construct()
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $name = 'data_uploader')

JQueryFileUploader constructor.

Create a new extended instance of file uploader

Parameters

string $name

The upload html field name

handle()

handle(string  $target = '',boolean  $keep = false): \FAA\Obj\Result

Handle the upload This method is the interface function to the underlaying plugin

Parameters

string $target

The target path, absolute path to new file

boolean $keep

When set to true, old files with same name wont be overwritten

Returns

\FAA\Obj\Result —

A system result object