getDataLoader
\Bitrix\Landing\Source\Selector::getDataLoader( $index, array $parameters, array $options = []] )
Method returns data retrieval object from a source.
Parameters
Method | Type | Description | Available from version |
---|---|---|---|
$index | string | Source unique index (required) | |
$parameters | array | Settings for landing block (required). Can contain the following keys:
| |
$options | array | additional settings (optional). Can contain the following keys:
|
Returned value
Returns:
- null - source not found
- descendant class object [link=10222488]\Bitrix\Landing\Source\DataLoader[/link] to be used for retrieving records from a source.
© «Bitrix24», 2001-2025