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