getByPrimary
\Bitrix\Main\DB\Result public static \Bitrix\Main\Entity\DataManager::getByPrimary( mixed $primary, array $parameters = array() );
This static method returns selection by entity primary key and by optional parameters \Bitrix\Main\Entity\DataManager::getList.
Parameters
Parameter | Description | Version |
---|---|---|
$primary | Entity primary key | |
$parameters | Additional parameters \Bitrix\Main\Entity\DataManager::getList |
Example
© «Bitrix24», 2001-2024
Up