You are here

public static function Utils::getExt in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

7 calls to Utils::getExt()
AFile::getExt in vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php
FileCommited::getSizes in vendor/edsdk/file-uploader-server-php/src/lib/file/FileCommited.php
FileUploaded::checkForErrors in vendor/edsdk/file-uploader-server-php/src/lib/file/FileUploaded.php
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

... See full list

File

vendor/edsdk/file-uploader-server-php/src/lib/file/Utils.php, line 21

Class

Utils

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public static function getExt($name) {
  $i = strrpos($name, '.');
  if ($i !== false) {
    return substr($name, $i + 1);
  }
  return null;
}