You are here

public function AFile::getNameWithoutExt in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

2 calls to AFile::getNameWithoutExt()
FileCommited::getFileModification in vendor/edsdk/file-uploader-server-php/src/lib/file/FileCommited.php
FileCommited::getSizes in vendor/edsdk/file-uploader-server-php/src/lib/file/FileCommited.php

File

vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php, line 106

Class

AFile

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public function getNameWithoutExt() {
  $ext = $this
    ->getExt();
  if ($ext === null) {
    return $this->m_name;
  }
  return substr($this->m_name, 0, strlen($this->m_name) - strlen($ext) - 1);
}