• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/grid/panel/groupaction.php
  • Класс: BitrixIblockGridPanelGroupAction
  • Вызов: GroupAction::get
public function get(string $code, array $params = [])
{
	$code = trim($code);
	if ($code === '' || !isset($this->actionHandlers[$code]))
	{
		return null;
	}

	$method = 'action'.$this->actionHandlers[$code].'Panel';
	if (is_callable([$this, $method]))
	{
		return call_user_func_array([$this, $method], [$params]);
	}

	return [];
}