Documentation

Upload
in package
Uses UtilsProvider

Handling uploader, so files can be uploaded directly to a folder.

Table of Contents

Properties

$me  : mixed

Methods

add_attachment()  : mixed
Handles the upload to move an attachment directly to a given folder.
getFolderFromRequest()  : mixed
Get the folder id from the current page request.
getInstance()  : Upload
Get instance.
getPluginConstantPrefix()  : string
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
pre_upload_ui()  : mixed
The grid view and post editor upload can be modified through the left tree view to upload files directly.
__construct()  : mixed
C'tor.

Properties

$me

private static mixed $me = null

Methods

add_attachment()

Handles the upload to move an attachment directly to a given folder.

public add_attachment(int $postID) : mixed
Parameters
$postID : int

getFolderFromRequest()

Get the folder id from the current page request.

public getFolderFromRequest() : mixed

getPluginConstantPrefix()

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

public getPluginConstantPrefix() : string
Tags
codeCoverageIgnore

It only returns a string with the constant prefix

Return values
string

pre_upload_ui()

The grid view and post editor upload can be modified through the left tree view to upload files directly.

public pre_upload_ui() : mixed

__construct()

C'tor.

private __construct() : mixed

        
On this page

Search results