public static function Message::createMessage in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Creates a message.
29 calls to Message::createMessage()
- AActionUploadId::validateUploadId in src/
Flmngr/ FileUploaderServer/ lib/ action/ AActionUploadId.php - Validates upload ID and throws exception in case of validation error.
- ActionQuickUpload::run in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionQuickUpload.php - Runs action.
- ActionUploadAddFile::run in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionUploadAddFile.php - Runs action.
- ActionUploadCancel::run in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionUploadCancel.php - Runs action.
- ActionUploadCommit::run in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionUploadCommit.php - Runs action.
File
- src/
Flmngr/ FileUploaderServer/ lib/ action/ resp/ Message.php, line 80
Class
- Message
- A message convertable from code to string on client side. Converted to the strings on a client side.
Namespace
Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\respCode
public static function createMessage($code, $arg1 = NULL, $arg2 = NULL, $arg3 = NULL) {
$msg = new Message();
$msg->code = $code;
if ($arg1 != NULL) {
$msg->args = [];
$msg->args[] = $arg1;
if ($arg2 != NULL) {
$msg->args[] = $arg2;
if ($arg3 != NULL) {
$msg->args[] = $arg3;
}
}
}
return $msg;
}