Relation
Table of Contents minLevel 2
Short description
This field type represents an url.a hyperlink. It is formed by the combination of a link and the respective text.
Name | Internal name | Expected input |
---|---|---|
Url | ezurl | string |
Description
This FieldType makes possible to store and retrieve an url. It is formed by the combination of a link and the respective text
Input expectations
Type | Example |
---|---|
string | "http://www.ez.no", "eZ Systems" |
Value object
Properties
The Value class of this field type contains the following properties:
...
Code Block | ||||
---|---|---|---|---|
| ||||
$url->link = "http://www.ez.no"; $url->text = "eZ Systems"; |
Constructor
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.
...