You are here

protected function Upload::getFileName in UEditor - 百度编辑器 8

获取文件名

Return value

string

3 calls to Upload::getFileName()
UploadCatch::doUpload in src/Uploader/UploadCatch.php
UploadFile::doUpload in src/Uploader/UploadFile.php
UploadScrawl::doUpload in src/Uploader/UploadScrawl.php

File

src/Uploader/Upload.php, line 180

Class

Upload
UEditor编辑器通用上传类

Namespace

Drupal\ueditor\Uploader

Code

protected function getFileName() {
  return substr($this->filePath, strrpos($this->filePath, '/') + 1);
}