• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/iblock_rights.php
  • Класс: CIBlockRights
  • Вызов: CIBlockRights::_get_parent_object
function _get_parent_object($id)
{
	if($id <= 0)
		return new CIBlockRights($this->IBLOCK_ID);
	else
		return new CIBlockSectionRights($this->IBLOCK_ID, $id);
}