You are here

class FMDir in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

Hierarchy

  • class \EdSDK\FlmngrServer\model\FMDir

Expanded class hierarchy of FMDir

1 file declares its use of FMDir
FMDiskFileSystem.php in vendor/edsdk/flmngr-server-php/src/fs/FMDiskFileSystem.php

File

vendor/edsdk/flmngr-server-php/src/model/FMDir.php, line 12

Namespace

EdSDK\FlmngrServer\model
View source
class FMDir {
  private $path;

  // contains parent dir's path WITHOUT starting AND trailing "/"
  private $name;
  public $f;
  public $d;
  public $p;

  // property exists in PHP version only, for JSON generation
  function __construct($name, $path, $filesCount, $dirsCount) {
    $this->path = $path;
    $this->name = $name;
    $this->f = $filesCount;
    $this->d = $dirsCount;
    $this->p = (strlen($this->path) > 0 ? "/" . $this->path : "") . "/" . $this->name;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FMDir::$d public property
FMDir::$f public property
FMDir::$name private property
FMDir::$p public property
FMDir::$path private property
FMDir::__construct function