GetList
Bitrix\Main\DB\Result GetList($ownerId); result_type
Allows to retrieve list of user reports, corresponding to ownerId
, or all user reports, if ownerId
is not specified. Static method.
Function parameters
Parameter | Description |
---|---|
$ownerId | Owner ID. As a rule, contains module name to which the reports are pertaining, as well as a name of basic entity (if reports on the basis of different entities can be generated in the module). |
Returned value
Returns a Bitrix\Main\DB\Result sample, or false
otherwise.
Examples of use
<?
$obRep = CReport::GetList('crm'); echo '<p>List of reports on deals:</p><ul>'; while($arRep = $obRep->fetch()) echo '<li>'.$arRep['TITLE']; echo '</ul>';
?>
© «Bitrix24», 2001-2024