Handler
        Handler.php
                :
        18
                 
    
            Interface
                The UrlWildcard Handler interface provides nice urls with wildcards management.
Its methods operate on a representation of the url alias data structure held inside a storage engine.
Methods¶
                 countAll()
            ¶
countAll()
            ¶
    
        
        Handler.php
                :
        98
                 
    
        Counts URL Wildcards.
|  |  | 
Return values
int
                 create()
            ¶
create()
            ¶
    
        
        Handler.php
                :
        29
                 
    
        Creates a new url wildcard.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $sourceUrl | string | - | - | 
| $destinationUrl | string | - | - | 
| $forward | bool | false | - | 
Return values
                 exactSourceUrlExists()
            ¶
exactSourceUrlExists()
            ¶
    
        
        Handler.php
                :
        93
                 
    
        Checks whether UrlWildcard with given source url exits.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $sourceUrl | string | - | - | 
Return values
bool
                 find()
            ¶
find()
            ¶
    
        
        Handler.php
                :
        73
                 
    
        Find URLWildcards.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $query | URLWildcardQuery | - | - | 
Return values
array<string|int, mixed>
Tags
                 load()
            ¶
load()
            ¶
    
        
        Handler.php
                :
        56
                 
    
        Loads a url wild card.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | mixed | - | - | 
Return values
Tags
                 loadAll()
            ¶
loadAll()
            ¶
    
        
        Handler.php
                :
        66
                 
    
        Loads all url wild card (paged).
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $offset | int | 0 | - | 
| $limit | int | -1 | - | 
Return values
array<string|int, UrlWildcard>
                 remove()
            ¶
remove()
            ¶
    
        
        Handler.php
                :
        45
                 
    
        removes an url wildcard.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | mixed | - | - | 
Tags
                 translate()
            ¶
translate()
            ¶
    
        
        Handler.php
                :
        84
                 
    
        Performs lookup for given (source) URL.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $sourceUrl | string | - | - | 
Return values
Tags
                 update()
            ¶
update()
            ¶
    
        
        Handler.php
                :
        31
                 
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | int | - | - | 
| $sourceUrl | string | - | - | 
| $destinationUrl | string | - | - | 
| $forward | bool | - | - |