public static function Utils::getNameWithoutExt in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
2 calls to Utils::getNameWithoutExt()
- FMDiskFileSystem::resizeFile in vendor/
edsdk/ flmngr-server-php/ src/ fs/ FMDiskFileSystem.php - Utils::getFreeFileName in vendor/
edsdk/ file-uploader-server-php/ src/ lib/ file/ Utils.php
File
- vendor/
edsdk/ file-uploader-server-php/ src/ lib/ file/ Utils.php, line 14
Class
Namespace
EdSDK\FileUploaderServer\lib\fileCode
public static function getNameWithoutExt($filename) {
$ext = Utils::getExt($filename);
if ($ext == null) {
return $filename;
}
return substr($filename, 0, strlen($filename) - strlen($ext) - 1);
}