Свойство | Type | Description | |
---|---|---|---|
$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 |
Méthode | Description | |
---|---|---|
__construct ( $elFinder, boolean $debug = false ) | Constructor | |
outputJson ( array $data ) | Output JSON | |
run ( ) : void | Execute elFinder command and output result |
Méthode | Description | |
---|---|---|
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 | |
Résultat | mixed |
protected static sendHeader ( string | array $header = null ) | ||
$header | string | array | optional header |
protected static string $contentType | ||
Résultat | string |
protected string $header | ||
Résultat | string |