FMDir.php in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
File
src/Flmngr/FlmngrServer/model/FMDir.php
View source
<?php
namespace Drupal\n1ed\Flmngr\FlmngrServer\model;
class FMDir {
private $path;
private $name;
public $f;
public $d;
public $p;
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;
}
}
Classes
Name |
Description |
FMDir |
Directory data structure. |