...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
use eZ\Publish\Core\FieldType\Keyword\Value; // Instantiates a Value object with an array of keywords $keywordValue = new Value( array( "php5", "css3", "html5", "solr", "memcached" ) ); // Instantiates a Value object with a list of keywords in a string // This is equivalent to the example above $keywordValue = new Value( "php5,css3,html5,solr,memcached" ); |