Global navigation

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

 
Exponential (5.x)

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

Skip to end of metadata
Go to start of metadata

This field type represents keywords.

NameInternal nameExpected input
Keywordezkeywordstring[]|string

Table of contents:

Description


This FieldType stores single or several keywords as comma separated keywords as a string or array of string keywords.

Input expectations


TypeExample
string
"documentation"
string

"php, Exponential, html5"

string[]array( "eZ Systems", "Enterprise", "User Experience Management" )

Value object


Properties

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

PropertyTypeDescription
$valuestring[]Holds an array of keywords as strings.
Value object content example

Constructor

The Keyword\Value constructor will initialize a new Value object with the value provided.

It expects a list of keywords, either as comma separated in a string or as an array of strings.

Constructor example