This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Keyword Field Type¶
This Field Type stores one or several comma-separated keywords as a string or array of strings.
| Name | Internal name | Expected input |
|---|---|---|
Keyword |
ezkeyword |
string[]|string |
PHP API Field Type¶
Input expectations¶
| Type | Example |
|---|---|
string |
"documentation" |
string |
"php, Ibexa Platform, html5" |
string[] |
[ "Ibexa", "Enterprise", "User Experience Management" ] |
Value object¶
Properties¶
The Value class of this Field Type contains the following properties:
| Property | Type | Description |
|---|---|---|
$value |
string[] |
Holds an array of keywords as strings. |
1 2 3 4 5 6 7 8 | |
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.
1 2 3 4 5 6 7 8 9 | |