Documentation

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

ParameterDescriptionVersion
$primaryEntity primary key
$parametersAdditional parameters \Bitrix\Main\Entity\DataManager::getList

Example



© «Bitrix24», 2001-2024
Up