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\modelView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FMFile:: |
public | property | ||
FMFile:: |
public | property | ||
FMFile:: |
public | property | ||
FMFile:: |
public | property | ||
FMFile:: |
public | property | ||
FMFile:: |
public | function | Creates an instance. |