ZenphotoCMS 1.6.2

elFinderConnector
in package

Default elFinder connector

Tags
author

Dmitry (dio) Levashov

Table of Contents

Properties

$contentType  : string
Content type of output JSON
$elFinder  : elFinder
elFinder instance
$header  : string
Must be use output($data) $data['header']
$options  : array<string|int, mixed>
Options
$reqMethod  : string
HTTP request method

Methods

__construct()  : mixed
Constructor
outputJson()  : mixed
Output JSON
run()  : void
Execute elFinder command and output result
setHeader()  : mixed
Sets the header.
input_filter()  : mixed
Remove null & stripslashes applies on "magic_quotes_gpc"
output()  : void
Output json
sendHeader()  : mixed
Send HTTP header

Properties

$contentType

Content type of output JSON

protected static string $contentType = 'Content-Type: application/json; charset=utf-8'

Methods

__construct()

Constructor

public __construct( $elFinder[, bool $debug = false ]) : mixed
Parameters
$elFinder :
$debug : bool = false
Tags
author

Dmitry (dio) Levashov

outputJson()

Output JSON

public static outputJson(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

run()

Execute elFinder command and output result

public run() : void
Tags
throws
Exception
author

Dmitry (dio) Levashov

setHeader()

Sets the header.

public setHeader(array<string|int, mixed>|string $value) : mixed
Parameters
$value : array<string|int, mixed>|string

HTTP header(s)

input_filter()

Remove null & stripslashes applies on "magic_quotes_gpc"

protected input_filter(mixed $args) : mixed
Parameters
$args : mixed
Tags
author

Naoki Sawada

output()

Output json

protected output(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Tags
throws
elFinderAbortException
author

Dmitry (dio) Levashov

sendHeader()

Send HTTP header

protected static sendHeader([string|array<string|int, mixed> $header = null ]) : mixed
Parameters
$header : string|array<string|int, mixed> = null

optional header


        
On this page

Search results