Handler
        Handler.php
                :
        19
                
    
            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()
            ¶
    
        
        Handler.php
                :
        99
                
    
        Counts URL Wildcards.
| 
                     | 
                
                    
                     | 
            
Return values
int
                
create()
            ¶
    
        
        Handler.php
                :
        30
                
    
        Creates a new url wildcard.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $sourceUrl | string | - | - | 
| $destinationUrl | string | - | - | 
| $forward | bool | false | - | 
Return values
                
exactSourceUrlExists()
            ¶
    
        
        Handler.php
                :
        94
                
    
        Checks whether UrlWildcard with given source url exits.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $sourceUrl | string | - | - | 
Return values
bool
                
find()
            ¶
    
        
        Handler.php
                :
        74
                
    
        Find URLWildcards.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $query | URLWildcardQuery | - | - | 
Return values
array<string|int, mixed>
Tags
                
load()
            ¶
    
        
        Handler.php
                :
        57
                
    
        Loads a url wild card.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | mixed | - | - | 
Return values
Tags
                
loadAll()
            ¶
    
        
        Handler.php
                :
        67
                
    
        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()
            ¶
    
        
        Handler.php
                :
        46
                
    
        removes an url wildcard.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | mixed | - | - | 
Tags
                
translate()
            ¶
    
        
        Handler.php
                :
        85
                
    
        Performs lookup for given (source) URL.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $sourceUrl | string | - | - | 
Return values
Tags
                
update()
            ¶
    
        
        Handler.php
                :
        32
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | int | - | - | 
| $sourceUrl | string | - | - | 
| $destinationUrl | string | - | - | 
| $forward | bool | - | - |