PHP Класс elFinderConnector

Автор: Dmitry (dio) Levashov
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Описание методов

__construct() публичный метод

Constructor
Автор: Dmitry (dio) Levashov
public __construct ( $elFinder, boolean $debug = false )
$elFinder
$debug boolean

input_filter() защищенный метод

Remove null & stripslashes applies on "magic_quotes_gpc"
Автор: Naoki Sawada
protected input_filter ( mixed $args ) : mixed
$args mixed
Результат mixed

output() защищенный метод

Output json
Автор: Dmitry (dio) Levashov
protected output ( array $data ) : void
$data array
Результат void

outputJson() публичный статический метод

Output JSON
public static outputJson ( array $data )
$data array

run() публичный метод

Execute elFinder command and output result
Автор: Dmitry (dio) Levashov
public run ( ) : void
Результат void

sendHeader() защищенный статический метод

Send HTTP header
protected static sendHeader ( string | array $header = null )
$header string | array optional header

Описание свойств

$contentType защищенное статическое свойство

Content type of output JSON
protected static string $contentType
Результат string

$elFinder защищенное свойство

elFinder instance
protected elFinder $elFinder
Результат elFinder

$header защищенное свойство

Must be use output($data) $data['header']
Устаревший:
protected string $header
Результат string

$options защищенное свойство

Options
protected aray $options
Результат aray

$reqMethod защищенное свойство

HTTP request method
protected string $reqMethod
Результат string