Documentation

getStringId

integer public
\Bitrix\Iblock\PropertyIndex\Dictionary::getStringId(
 string $value,
 boolean $addWhenNotFound = true
);

Method returns string unique ID. Non-static method.

Parameters

ParameterDescriptionVersion
$valueValue for search in dictionary.
$addWhenNotFoundWhen parameter is true and nothing is found, adds new value into dictionary.

Example



© «Bitrix24», 2001-2024
Up