\comUeditor

Summary

Methods
Properties
Constants
__construct()
output()
$uid
No constants found
No protected methods found
No protected properties found
N/A
uploadFile()
uploadBase64()
listFile()
saveRemote()
getFullPath()
format_exts()
$output
$st
$rootpath
$config
N/A

Properties

$uid

$uid : 

Type

$output

$output : 

Type

$st

$st : 

Type

$rootpath

$rootpath : 

Type

$config

$config : 

Type

Methods

__construct()

__construct(  $uid = '') 

Parameters

$uid

output()

output() : \com\组合后json格式的结果

输出结果

Returns

\com\组合后json格式的结果

uploadFile()

uploadFile(  $config,   $fieldName) 

上传文件方法

Parameters

$config
$fieldName

uploadBase64()

uploadBase64(  $config,   $fieldName) 

Enter description here .

..

Parameters

$config
$fieldName

listFile()

listFile(  $config) 

列出文件夹下所有文件,如果是目录则向下

Parameters

$config

saveRemote()

saveRemote(  $config,   $fieldName) 

Enter description here .

..

Parameters

$config
$fieldName

getFullPath()

getFullPath(  $path) : string

规则替换命名文件

Parameters

$path

Returns

string

format_exts()

format_exts(  $exts) 

Parameters

$exts