D7 API documentation
What's New
Modules
Available fields
New invoices
Composite Identifiers
New CRM API
SPA type preset
Bindings
Client in CRM
Items
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
Up