You are here

public function RespUploadInit::__construct in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

File

vendor/edsdk/file-uploader-server-php/src/lib/action/resp/RespUploadInit.php, line 17

Class

RespUploadInit

Namespace

EdSDK\FileUploaderServer\lib\action\resp

Code

public function __construct($uploadId, $config) {
  $this->uploadId = $uploadId;
  $this->settings = new Settings();
  $this->settings->maxImageResizeWidth = $config
    ->getMaxImageResizeWidth();
  $this->settings->maxImageResizeHeight = $config
    ->getMaxImageResizeHeight();
}