You are here

class FMFile in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2

File data structure.

Hierarchy

  • class \Drupal\n1ed\Flmngr\FlmngrServer\model\FMFile

Expanded class hierarchy of FMFile

1 file declares its use of FMFile
FMDiskFileSystem.php in src/Flmngr/FlmngrServer/fs/FMDiskFileSystem.php

File

src/Flmngr/FlmngrServer/model/FMFile.php, line 8

Namespace

Drupal\n1ed\Flmngr\FlmngrServer\model
View source
class FMFile {
  public $p;
  public $s;
  public $t;
  public $w;
  public $h;

  /**
   * Creates an instance.
   */
  public function __construct($path, $name, $size, $timeModification, $imageInfo) {
    $this->p = '/' . $path . '/' . $name;
    $this->s = $size;
    $this->t = $timeModification;
    $this->w = $imageInfo->width == 0 ? NULL : $imageInfo->width;
    $this->h = $imageInfo->height == 0 ? NULL : $imageInfo->height;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FMFile::$h public property
FMFile::$p public property
FMFile::$s public property
FMFile::$t public property
FMFile::$w public property
FMFile::__construct public function Creates an instance.