Свойство | Тип | Описание | |
---|---|---|---|
$contentType | string | Content type of output JSON | |
$elFinder | elFinder | elFinder instance | |
$header | string | Must be use output($data) $data['header'] | |
$options | aray | Options | |
$reqMethod | string | HTTP request method |
Метод | Описание | |
---|---|---|
__construct ( $elFinder, boolean $debug = false ) | Constructor | |
outputJson ( array $data ) | Output JSON | |
run ( ) : void | Execute elFinder command and output result |
Метод | Описание | |
---|---|---|
input_filter ( mixed $args ) : mixed | Remove null & stripslashes applies on "magic_quotes_gpc" | |
output ( array $data ) : void | Output json | |
sendHeader ( string | array $header = null ) | Send HTTP header |
public __construct ( $elFinder, boolean $debug = false ) | ||
$elFinder | ||
$debug | boolean |
protected input_filter ( mixed $args ) : mixed | ||
$args | mixed | |
Результат | mixed |
public static outputJson ( array $data ) | ||
$data | array |
protected static sendHeader ( string | array $header = null ) | ||
$header | string | array | optional header |
protected static string $contentType | ||
Результат | string |
protected string $header | ||
Результат | string |