URLWildcardService
        URLWildcardService.php
                :
        22
                
    
            Interface
                URLAlias service.
Tags
Methods¶
                
countAll()
            ¶
    
        
        URLWildcardService.php
                :
        100
                
    
        Counts URL Wildcards.
| 
                     | 
                
                    
                     | 
            
Return values
int
                
create()
            ¶
    
        
        URLWildcardService.php
                :
        33
                
    
        Creates a new url wildcard.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $sourceUrl | string | - | - | 
| $destinationUrl | string | - | - | 
| $forward | bool | false | - | 
Return values
Tags
                
findUrlWildcards()
            ¶
    
        
        URLWildcardService.php
                :
        83
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $query | URLWildcardQuery | - | - | 
Return values
Tags
                
load()
            ¶
    
        
        URLWildcardService.php
                :
        67
                
    
        Loads a url wild card.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $id | int | - | - | 
Return values
Tags
                
loadAll()
            ¶
    
        
        URLWildcardService.php
                :
        77
                
    
        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()
            ¶
    
        
        URLWildcardService.php
                :
        60
                
    
        Removes an url wildcard.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $urlWildcard | URLWildcard | - | 
                                                         the url wildcard to remove  | 
                
Tags
                
translate()
            ¶
    
        
        URLWildcardService.php
                :
        95
                
    
        Translates an url to an existing uri resource based on the source/destination patterns of the url wildcard.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $url | string | - | - | 
Return values
Tags
                
update()
            ¶
    
        
        URLWildcardService.php
                :
        48
                
    
        Update an url wildcard.
| 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $urlWildcard | URLWildcard | - | - | 
| $updateStruct | URLWildcardUpdateStruct | - | - |