getFirstValue
array public \Bitrix\Crm\Widget\Data\DataSource::getFirstValue( array $params, string $fieldName, string $defaultValue = '' );
Method gets field value for first entity from list. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$params | List of parameters. | |
$fieldName | Field name. | |
$defaultValue | Default field value. |
Example
© «Bitrix24», 2001-2024