• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/inheritedproperty/basetemplate.php
  • Класс: BitrixIblockInheritedPropertyBaseTemplate
  • Вызов: BaseTemplate::findTemplates
public function findTemplates()
{
	$templates = array();
	if ($this->hasTemplates($this->entity))
	{
		$this->findTemplatesRecursive($this->entity, $templates);
		foreach ($templates as $CODE => $row)
		{
			if ($row["ENTITY_TYPE"] == $this->entity->getType() && $row["ENTITY_ID"] == $this->entity->getId())
				$templates[$CODE]["INHERITED"] = "N";
			else
				$templates[$CODE]["INHERITED"] = "Y";
		}
	}
	return $templates;
}