You are here

public function Uploader::getFileInfo in UEditor - 百度编辑器 7.3

Same name and namespace in other branches
  1. 7.2 includes/Uploader.class.inc \Uploader::getFileInfo()

获取当前上传成功文件的各项信息

Return value

array

File

includes/Uploader.class.inc, line 438

Class

Uploader
Created by JetBrains PhpStorm. User: taoqili Date: 12-7-18 Time: 上午11: 32 UEditor编辑器通用上传类

Code

public function getFileInfo() {
  return array(
    "state" => $this->stateInfo,
    "url" => $this->fullName,
    "title" => $this->fileName,
    "original" => $this->oriName,
    "type" => $this->fileType,
    "size" => $this->fileSize,
  );
}