public function FMDir::__construct in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Creates an instance.
File
- src/
Flmngr/ FlmngrServer/ model/ FMDir.php, line 23
Class
- FMDir
- Directory data structure.
Namespace
Drupal\n1ed\Flmngr\FlmngrServer\modelCode
public 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;
}