Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   eZ Publish 4.x / legacy

 
eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add horizonal rules

Relation

This field type represents an url.a hyperlink. It is formed by the combination of a link and the respective text.

NameInternal nameExpected input
Urlezurlstring

Table of contents:

Table of Contents
minLevel2

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

...

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

 

Value object

...

Properties

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

...

Code Block
languagephp
titleValue object content example
$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.

Code Block
languagephp
titleConstructor example
// Instantiates an Url Value object
$UrlValue = new Url\Value( "http://www.ez.no", "eZ Systems" );

Validation

...

This FieldType does not perform validation.

Settings

...

This FieldType does not have settings.