Property | 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 |
Method | Description | |
---|---|---|
__construct ( $elFinder, boolean $debug = false ) | Constructor | |
outputJson ( array $data ) | Output JSON | |
run ( ) : void | Execute elFinder command and output result |
Method | 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 | |
return | mixed |
protected static sendHeader ( string | array $header = null ) | ||
$header | string | array | optional header |
protected static string $contentType | ||
return | string |
protected string $header | ||
return | string |