private function Uploader::getFileName in UEditor - 百度编辑器 7.3
Same name and namespace in other branches
- 7.2 includes/Uploader.class.inc \Uploader::getFileName()
获取文件名
Return value
string
3 calls to Uploader::getFileName()
- Uploader::saveRemote in includes/
Uploader.class.inc - 拉取远程图片
- Uploader::upBase64 in includes/
Uploader.class.inc - 处理base64编码的图片上传
- Uploader::upFile in includes/
Uploader.class.inc - 上传文件的主处理方法
File
- includes/
Uploader.class.inc, line 398
Class
- Uploader
- Created by JetBrains PhpStorm. User: taoqili Date: 12-7-18 Time: 上午11: 32 UEditor编辑器通用上传类
Code
private function getFileName() {
return substr($this->filePath, strrpos($this->filePath, '/') + 1);
}