ZenphotoCMS 1.6.3

elFinderEditorZohoOffice extends elFinderEditor
in package

Abstract class of editor plugins.

Table of Contents

Properties

$allowed  : array<string|int, mixed>
Array of allowed method by request from client side.
$args  : array<string|int, mixed>
Arguments
$editor_settings  : mixed
$elfinder  : object
elFinder instance
$curlTimeout  : mixed
$myName  : mixed
$srvs  : mixed
$urls  : mixed

Methods

__construct()  : mixed
Constructor.
argValue()  : mixed
Return $this->args value of the key
chk()  : mixed
enabled()  : bool
Return boolean that this plugin is enabled.
init()  : mixed
isAllowedMethod()  : bool
Return boolean that $name method is allowed.
save()  : mixed

Properties

$allowed

Array of allowed method by request from client side.

protected array<string|int, mixed> $allowed = array('init', 'save', 'chk')

$args

Arguments

protected array<string|int, mixed> $args

argValues

$editor_settings

protected mixed $editor_settings = array('writer' => array('unit' => 'mm', 'view' => 'pageview'), 'sheet' => array('country' => 'US'), 'show' => array())

$elfinder

elFinder instance

protected object $elfinder

elFinder instance

$curlTimeout

private static mixed $curlTimeout = 20

$myName

private mixed $myName = ''

$srvs

private mixed $srvs = array('application/msword' => 'writer', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'writer', 'application/pdf' => 'writer', 'application/vnd.oasis.opendocument.text' => 'writer', 'application/rtf' => 'writer', 'text/html' => 'writer', 'application/vnd.ms-excel' => 'sheet', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'sheet', 'application/vnd.oasis.opendocument.spreadsheet' => 'sheet', 'application/vnd.sun.xml.calc' => 'sheet', 'text/csv' => 'sheet', 'text/tab-separated-values' => 'sheet', 'application/vnd.ms-powerpoint' => 'show', 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'show', 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => 'show', 'application/vnd.oasis.opendocument.presentation' => 'show', 'application/vnd.sun.xml.impress' => 'show')

$urls

private mixed $urls = array('writer' => 'https://writer.zoho.com/writer/officeapi/v1/document', 'sheet' => 'https://sheet.zoho.com/sheet/officeapi/v1/spreadsheet', 'show' => 'https://show.zoho.com/show/officeapi/v1/presentation')

Methods

__construct()

Constructor.

public __construct(mixed $elfinder, mixed $args) : mixed
Parameters
$elfinder : mixed
$args : mixed

argValue()

Return $this->args value of the key

public argValue(string $key[, string $empty = '' ]) : mixed
Parameters
$key : string

target key

$empty : string = ''

empty value

enabled()

Return boolean that this plugin is enabled.

public enabled() : bool
Return values
bool

isAllowedMethod()

Return boolean that $name method is allowed.

public isAllowedMethod(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results