IsNavPrint
bool CDBResult::IsNavPrint()
The method returns false, if all records fit in a single page. Otherwise returns true. Non-static method.
Attention! CDBResult::NavStart must be called prior to using this method.
Parameters
No parameters.See also
Examples of use
<? $arDirContent = array_merge($arDirs, $arFiles); $rsDirContent = new CDBResult; $rsDirContent->InitFromArray($arDirContent); $rsDirContent->NavStart(50); if($rsDirContent->IsNavPrint()) { echo "<p>"; $rsDirContent->NavPrint("Файлы"); echo "</p>"; } ?>
© «Bitrix24», 2001-2024