elFinderEditor
in package
Abstract class of editor plugins.
Tags
Table of Contents
Properties
- $allowed : array<string|int, mixed>
- Array of allowed method by request from client side.
- $args : array<string|int, mixed>
- Arguments
- $elfinder : object
- elFinder instance
Methods
- __construct() : mixed
- Constructor.
- argValue() : mixed
- Return $this->args value of the key
- enabled() : bool
- Return boolean that this plugin is enabled.
- isAllowedMethod() : bool
- Return boolean that $name method is allowed.
Properties
$allowed
Array of allowed method by request from client side.
protected
array<string|int, mixed>
$allowed
= array()
$args
Arguments
protected
array<string|int, mixed>
$args
argValues
$elfinder
elFinder instance
protected
object
$elfinder
elFinder instance
Methods
__construct()
Constructor.
public
__construct(object $elfinder, array<string|int, mixed> $args) : mixed
Parameters
- $elfinder : object
- $args : array<string|int, mixed>
argValue()
Return $this->args value of the key
public
argValue(string $key[, string $empty = '' ]) : mixed
Parameters
- $key : string
-
target key
- $empty : string = ''
-
empty value
enabled()
Return boolean that this plugin is enabled.
public
enabled() : bool
Return values
boolisAllowedMethod()
Return boolean that $name method is allowed.
public
isAllowedMethod(string $name) : bool
Parameters
- $name : string