Bitrix Site Manager

CDBResult::IsNavPrint

bool
CDBResult::IsNavPrint()

The method IsNavPrint determines if all records may fit in a single page.

Note
The method CDBResult::NavStart must be called prior to calling this function.

Parameters

No parameters.

Return Values

Returns false if all records fit in a single page, or false otherwise.

See Also

Example



<?
$arDirContent = array_merge($arDirs, $arFiles);
$rsDirContent = new CDBResult;
$rsDirContent->InitFromArray($arDirContent);
$rsDirContent->NavStart(50);
if($rsDirContent->IsNavPrint())
{
	echo "<p>";
	$rsDirContent->NavPrint("Files");
	echo "</p>";
}
?>