General

  eZ Systems Website
  Editor documentation


  Developer documentation

  Back to the top

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This Field Type represents a hyperlink. It is formed by the combination of a link and the respective text.

NameInternal nameExpected input
Urlezurlstring

Table of contents:

Description

This Field Type makes possible to store and retrieve a url. It is formed by the combination of a link and the respective text.

Input expectations

TypeExample
string
"http://www.ez.no", "eZ Systems"

Value object

Properties

The Value class of this field type contains the following properties:

PropertyTypeDescription
$linkstringThis property will be used to store the link provided to the value of this Field Type.
$textstringThis property will be used to store the text to represent the stored link provided to the value of this Field Type.
Value object content example

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.

Constructor example

Validation

This Field Type does not perform validation.

Settings

This Field Type does not have settings.

 

  • No labels