• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/runtime.php
  • Класс: BitrixTasksInternalsRuntime
  • Вызов: Runtime::getRecordCount
static function getRecordCount(array $parameters = array())
{
	$result = array();

	if(!array_key_exists('NAME', $parameters))
	{
		$parameters['NAME'] = 'RECORD_COUNT';
	}

	$parameters = static::checkParameters($parameters);
	$result[] = new EntityExpressionField(
		$parameters['NAME'],
		'COUNT(*)',
		array()
	);

	return array('runtime' => $result);
}