![]() |
commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
|
Inherits Commercetools\Base\JsonObject.
Inherited by Commercetools\Api\Models\Product\SearchKeywordModel.
Public Member Functions | |
| getText () | |
| getSuggestTokenizer () | |
| setText (?string $text) | |
| setSuggestTokenizer (?SuggestTokenizer $suggestTokenizer) | |
Public Member Functions inherited from Commercetools\Base\JsonObject | |
| get (string $field) | |
| with (?callable $callable=null) | |
Public Attributes | |
| const | FIELD_TEXT = 'text' |
| const | FIELD_SUGGEST_TOKENIZER = 'suggestTokenizer' |
Additional Inherited Members | |
Static Public Member Functions inherited from Commercetools\Base\JsonObject | |
| static | of ($data=null) |
| static | fromArray (array $data=[]) |
| static | fromStdClass (?stdClass $data=null) |
Definition at line 14 of file SearchKeyword.php.
| Commercetools\Api\Models\Product\SearchKeyword::getSuggestTokenizer | ( | ) |
If no tokenizer is defined, the text is used as a single token.
Implemented in Commercetools\Api\Models\Product\SearchKeywordModel.
| Commercetools\Api\Models\Product\SearchKeyword::getText | ( | ) |
Text to return in the SuggestionResult.
Implemented in Commercetools\Api\Models\Product\SearchKeywordModel.
| Commercetools\Api\Models\Product\SearchKeyword::setSuggestTokenizer | ( | ?SuggestTokenizer | $suggestTokenizer | ) |
| ?SuggestTokenizer | $suggestTokenizer |
Implemented in Commercetools\Api\Models\Product\SearchKeywordModel.
| Commercetools\Api\Models\Product\SearchKeyword::setText | ( | ?string | $text | ) |
| ?string | $text |
Implemented in Commercetools\Api\Models\Product\SearchKeywordModel.
| const Commercetools\Api\Models\Product\SearchKeyword::FIELD_SUGGEST_TOKENIZER = 'suggestTokenizer' |
Definition at line 17 of file SearchKeyword.php.
| const Commercetools\Api\Models\Product\SearchKeyword::FIELD_TEXT = 'text' |
Definition at line 16 of file SearchKeyword.php.