abstract class AActionUploadId in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
Hierarchy
- class \EdSDK\FileUploaderServer\lib\action\AAction
- class \EdSDK\FileUploaderServer\lib\action\AActionUploadId
Expanded class hierarchy of AActionUploadId
File
- vendor/
edsdk/ file-uploader-server-php/ src/ lib/ action/ AActionUploadId.php, line 15
Namespace
EdSDK\FileUploaderServer\lib\actionView source
abstract class AActionUploadId extends AAction {
protected function validateUploadId($req) {
if ($req->uploadId === null) {
throw new MessageException(Message::createMessage(Message::UPLOAD_ID_NOT_SET));
}
$dir = $this->m_config
->getTmpDir() . "/" . $req->uploadId;
if (!file_exists($dir) || !is_dir($dir)) {
throw new MessageException(Message::createMessage(Message::UPLOAD_ID_INCORRECT));
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AAction:: |
protected | property | ||
AAction:: |
abstract public | function | 6 | |
AAction:: |
abstract public | function | 6 | |
AAction:: |
public | function | ||
AAction:: |
protected | function | ||
AAction:: |
protected | function | ||
AAction:: |
protected | function | ||
AActionUploadId:: |
protected | function |