You are here

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

5 calls to AFile::getDir()
AFile::getData in vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php
AFile::getPath in vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php
AFile::setFreeFileName in vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php
FileCommited::getFileModification in vendor/edsdk/file-uploader-server-php/src/lib/file/FileCommited.php
FileUploaded::rehost in vendor/edsdk/file-uploader-server-php/src/lib/file/FileUploaded.php

File

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

Class

AFile

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public function getDir() {
  if (strlen($this->m_dir) != 0 && substr($this->m_dir, strlen($this->m_dir) - 1) !== "/") {
    return $this->m_dir . "/";
  }
  return $this->m_dir;
}