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

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, eZ Publish, 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