You are here

FMFile.php in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

File

vendor/edsdk/flmngr-server-php/src/model/FMFile.php
View source
<?php

/**
 * Flmngr Server package
 * Developer: N1ED
 * Website: https://n1ed.com/
 * License: GNU General Public License Version 3 or later
 **/
namespace EdSDK\FlmngrServer\model;

class FMFile {
  public $p;

  // contains parent dir's path WITHOUT starting AND trailing "/"
  public $s;
  public $t;
  public $w;
  public $h;
  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;
  }

}

Classes

Namesort descending Description
FMFile