You are here

function FMDir::__construct in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

File

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

Class

FMDir

Namespace

EdSDK\FlmngrServer\model

Code

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;
}