• Модуль: documentgenerator
  • Путь к файлу: ~/bitrix/modules/documentgenerator/lib/registry.php
  • Класс: BitrixDocumentGeneratorRegistry
  • Вызов: Registry::getBaseClassName
protected function getBaseClassName();

/**
 * Absolute path where to look for descendants.
 *
 * @return string
 */
abstract protected function getPath();

/**
 * Name of the event that will be send to collect more descendants.
 *
 * @return mixed
 */
abstract protected function getEventName();

/**
 * @param array $params
 * @return array
 */
public static function getList(array $params = [])
{
	$modules = [];
	if(isset($params['filter']['MODULE']) && is_array($params['filter']['MODULE']))
	{
		$modules = $params['filter']['MODULE'];
	}

	$self = new static();

	$result = $self->getFromPath($self->getPath());
	$result += $self->getFromEvent($modules);

	return $result;
}