• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/iblock_rights.php
  • Класс: CIBlockSectionRights
  • Вызов: CIBlockSectionRights::_self_check
function _self_check()
{
	global $DB;
	$rs = $DB->Query("
		SELECT ID
		FROM b_iblock_section
		WHERE IBLOCK_ID = ".$this->IBLOCK_ID."
		AND ID = ".$this->id."
	");
	return is_array($rs->Fetch());
}