• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/workflow/template/collection/usages.php
  • Класс: BitrixBizprocWorkflowTemplateCollectionUsages
  • Вызов: Usages::getByOwner
public function getByOwner($ownerId)
{
	$list = [];
	foreach ($this->list as $sourceType => $items)
	{
		foreach ($items as list($id, $value))
		{
			if ($ownerId === $id)
			{
				$list[] = [$sourceType, $value];
			}
		}
	}
	return $list;
}