EditResponse
class EditResponse implements JsonSerializable (View source)
The result of an edit operation.
Properties
| ErrorList|Exception|string|null deprecated | $error | The error(s) of the response.  | 
                |
| string deprecated | $time | The date/time of the response in ISO-9075 format (YYYY-MM-DD hh:mm:ss).  | 
                |
| string|null deprecated | $title | The title of the response.  | 
                |
| string|null deprecated | $message | The message of the response.  | 
                |
| string|UrlInterface|null deprecated | $redirectURL | The redirect URL of the response.  | 
                |
| private bool | $reloadCurrentPage | The current page should be reloaded.  | 
                |
| protected array | $additionalData | Additional response data.  | 
                
Methods
Does this response contain an error?
Get the date/time of the response in ISO-9075 format (YYYY-MM-DD hh:mm:ss).
Set the title of the response.
Get the title of the response.
Set the message of the response.
Get the message of the response.
Set the redirect URL of the response.
Get the redirect URL of the response.
The current page should be reloaded?
The current page should be reloaded?
Set additional response data.
Get the JSON representation of the data of this instance.
Get an stdClass instance containing the serialized data of this instance.
Get an stdClass instance containing the serialized data of this instance.
{@inheritdoc}
Details
        
                            ErrorList|Exception|string|null
    getError()
        
    
    Get the error(s) of the response.
        
                            bool
    hasError()
        
    
    Does this response contain an error?
        
                            string
    getTime()
        
    
    Get the date/time of the response in ISO-9075 format (YYYY-MM-DD hh:mm:ss).
        
                            $this
    setTitle(string|null $title)
        
    
    Set the title of the response.
        
                            string|null
    getTitle()
        
    
    Get the title of the response.
        
                            $this
    setMessage(string|null $message)
        
    
    Set the message of the response.
        
                            string|null
    getMessage()
        
    
    Get the message of the response.
        
                            $this
    setRedirectURL(string|UrlInterface|null $url)
        
    
    Set the redirect URL of the response.
        
                            string|UrlInterface|null
    getRedirectURL()
        
    
    Get the redirect URL of the response.
        
                            object
    setReloadCurrentPage(bool $value)
        
    
    The current page should be reloaded?
        
                            bool
    isReloadCurrentPage()
        
    
    The current page should be reloaded?
        
                            
    setAdditionalDataAttribute(string $key, mixed $value)
        
    
    Set additional response data.
        
                            string
    getJSON()
        
    
    Get the JSON representation of the data of this instance.
        
                            stdClass
    getJSONObject()
        
    
    Get an stdClass instance containing the serialized data of this instance.
        
                            stdClass
    getBaseJSONObject()
        
    
    Get an stdClass instance containing the serialized data of this instance.
        
                            
    jsonSerialize()
        
    
    {@inheritdoc}
        
                            
    outputJSON()
        deprecated
    
    deprecated
No description