This Field Type represents a hyperlink. It is formed by the combination of a link and the respective text.
| Name | Internal name | Expected input |
|---|---|---|
Url | ezurl | string |
Table of contents:

This Field Type makes possible to store and retrieve a url. It is formed by the combination of a link and the respective text.
| Type | Example |
|---|---|
string | "http://www.ez.no", "eZ Systems" |
The Value class of this field type contains the following properties:
| Property | Type | Description |
|---|---|---|
$link | string | This property will be used to store the link provided to the value of this Field Type. |
$text | string | This property will be used to store the text to represent the stored link provided to the value of this Field Type. |
$url->link = "http://www.ez.no"; $url->text = "eZ Systems"; |
The Url\Value constructor will initialize a new Value object with the value provided. It expects two comma-separated strings, corresponding to the link and text.
// Instantiates an Url Value object $UrlValue = new Url\Value( "http://www.ez.no", "eZ Systems" ); |
This Field Type does not perform validation.
This Field Type does not have settings.