Message-ID: <379288387.3926.1485855904814.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3925_1324914636.1485855904814" ------=_Part_3925_1324914636.1485855904814 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html The Url FieldType

The Url FieldType

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:

=20 =20

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:

Property Type Description
$link string This property will be used to stor= e the link provided to the value of this FieldType.
$text string This property will be used to stor= e the the text to represent the stored link provided to the value of this F= ieldType.
Value object content example
=20
$url->link =3D "http://www.ez.no";
$url->text =3D "eZ Systems";
=20

Constructor

The Url\Value construc= tor will initialize a new Value object with the value provided. It exp= ects two comma-separated strings, corresponding to the link and text.

Constructor example
=20
// Instantiates an Url Value object
$UrlValue =3D new Url\Value( "http://www.ez.no", "eZ Systems" );
=20

Validation


This FieldType does not perform validation.

Settings


This FieldType does not have settings.

 

------=_Part_3925_1324914636.1485855904814--