Request
final class Request
Presenter request.
Constants
| FORWARD | 
                     method  | 
            
| RESTORED | 
                     flag  | 
            
| VARYING | 
                     flag  | 
            
Methods
No description
Sets the presenter name.
Retrieve the presenter name.
Sets variables provided to the presenter.
Returns all variables provided to the presenter (usually via URL).
Returns a parameter provided to the presenter.
Returns a variable provided to the presenter via POST.
Returns all uploaded files.
Returns the method.
Checks if the method is the given one.
Checks the flag.
No description
Details
        at line 39
                            
    __construct(string $name, string|null $method = null, array $params = [], array $post = [], array $files = [], array $flags = [])
        
    
    No description
        at line 53
                            Request
    setPresenterName(string $name)
        
    
    Sets the presenter name.
        at line 63
                            string
    getPresenterName()
        
    
    Retrieve the presenter name.
        at line 72
                            Request
    setParameters(array $params)
        
    
    Sets variables provided to the presenter.
        at line 82
                            array
    getParameters()
        
    
    Returns all variables provided to the presenter (usually via URL).
        at line 91
                            mixed
    getParameter(string $key)
        
    
    Returns a parameter provided to the presenter.
        at line 100
                            Request
    setPost(array $params)
        
    
    Sets variables provided to the presenter via POST.
        at line 111
                            mixed
    getPost(string|null $key = null)
        
    
    Returns a variable provided to the presenter via POST.
If no key is passed, returns the entire array.
        at line 122
                            Request
    setFiles(array $files)
        
    
    Sets all uploaded files.
        at line 132
                            array
    getFiles()
        
    
    Returns all uploaded files.
        at line 141
                            Request
    setMethod(string|null $method)
        
    
    Sets the method.
        at line 151
                            string|null
    getMethod()
        
    
    Returns the method.
        at line 160
                            bool
    isMethod(string $method)
        
    
    Checks if the method is the given one.
        at line 169
                            Request
    setFlag(string $flag, bool $value = true)
        
    
    Sets the flag.
        at line 179
                            bool
    hasFlag(string $flag)
        
    
    Checks the flag.
        at line 185
                            array
    toArray()
        
    
    No description