include/Smarty/plugins/modifier.to_url.php
Functions
smarty_modifier_to_url(
string $string
)
:
stringSmarty to_url modifier plugin
Type: modifier
Name: to_url
Purpose: adds http:// to the begining of a string if it contains no protocol
| Name | Type | Description |
|---|---|---|
| $string | string | The link to modify |
| Type | Description |
|---|---|
| string | The converted link |
- Author
- SugarCRM