BearFramework\App\Request\Query

Provides information about the response query items
BearFramework\App\Request\Query {

    
/* Methods */
    
public self delete string $name )
    public 
bool exists string $name )
    public 
BearFramework\App\Request\QueryItem|null get string $name )
    public 
BearFramework\DataList|BearFramework\App\Request\QueryItem[] getList void )
    public 
string|null getValue string $name )
    public 
BearFramework\App\Request\QueryItem make ( [ string|null $name [, string|null $value ]] )
    public 
self set BearFramework\App\Request\QueryItem $queryItem )
    public 
string toString void )

}
Methods
public self delete ( string $name )
Deletes a query item if exists.
public bool exists ( string $name )
Returns information whether a query item with the name specified exists.
public BearFramework\App\Request\QueryItem|null get ( string $name )
Returns a query item or null if not found.
Returns a list of all query items.
public string|null getValue ( string $name )
Returns a query item value or null if not found.
public BearFramework\App\Request\QueryItem make ( [ string|null $name [, string|null $value ]] )
Constructs a new query item and returns it.
public self set ( BearFramework\App\Request\QueryItem $queryItem )
Sets a query item.
public string toString ( void )
Returns the query items as string.
Details
Location: ~/src/App/Request/Query.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.