class RespFail in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2
Response about a fail. For conversion to JSON.
Hierarchy
Expanded class hierarchy of RespFail
3 files declare their use of RespFail
- ActionError.php in src/
Flmngr/ FileUploaderServer/ lib/ action/ ActionError.php - Uploader.php in src/
Flmngr/ FileUploaderServer/ lib/ Uploader.php - UploaderServlet.php in src/
Flmngr/ FileUploaderServer/ servlet/ UploaderServlet.php
File
- src/
Flmngr/ FileUploaderServer/ lib/ action/ resp/ RespFail.php, line 9
Namespace
Drupal\n1ed\Flmngr\FileUploaderServer\lib\action\respView source
class RespFail extends RespOk {
public $message;
/**
* Creates response with a message.
*/
public function __construct($message) {
$this->ok = FALSE;
$this->message = $message;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RespFail:: |
public | property | ||
RespFail:: |
public | function | Creates response with a message. | |
RespOk:: |
public | property |