You are here

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;


/**
 * Directory data structure.
 */
class FMDir {
  private $path;
  private $name;
  public $f;
  public $d;
  public $p;

  /**
   * Creates an instance.
   */
  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

Namesort descending Description
FMDir Directory data structure.