General

  eZ Systems Website
  Editor documentation


  Developer documentation

  Back to the top

The documentation is moving!

We're moving our developer docs to Github and a new site.
The migration is still in progress, so please contact us in #documentation-contrib on eZ Community Slack if you have any questions or feedback.

This space will not be updated from now on except for critical fixes.

Skip to end of metadata
Go to start of metadata

This Field Type represents keywords.

NameInternal nameExpected input
Keywordezkeywordstring[]|string

Description

This Field Type stores one or several comma-separated keywords as a string or array of strings.

PHP API Field Type 

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 comma-separated in a string or as an array of strings.

Constructor example