PHP 클래스 elFinderConnector

저자: Dmitry (dio) Levashov
파일 보기 프로젝트 열기: studio-42/elfinder 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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