class RespUploadInit in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Response about upload initialization. For conversion to JSON.
Hierarchy
- class \Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\resp\RespOk
- class \Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\resp\RespUploadInit
Expanded class hierarchy of RespUploadInit
1 file declares its use of RespUploadInit
- ActionUploadInit.php in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionUploadInit.php
File
- src/
Flmngr/ FileUploaderServer/ lib/ action/ resp/ RespUploadInit.php, line 9
Namespace
Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\respView source
class RespUploadInit extends RespOk {
public $uploadId;
public $settings;
/**
* Creates a request.
*/
public function __construct($uploadId, $config) {
$this->uploadId = $uploadId;
$this->settings = new Settings();
$this->settings->maxImageResizeWidth = $config
->getMaxImageResizeWidth();
$this->settings->maxImageResizeHeight = $config
->getMaxImageResizeHeight();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RespOk:: |
public | property | ||
RespUploadInit:: |
public | property | ||
RespUploadInit:: |
public | property | ||
RespUploadInit:: |
public | function | Creates a request. |