• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/connection.php
  • Класс: BitrixMainDBConnection
  • Вызов: Connection::getType
public function getType();

/**
 * Returns connected database version.
 * Version presented in array of two elements.
 * - First (with index 0) is database version.
 * - Second (with index 1) is true when light/express version of database is used.
 *
 * @return array
 * @throws SqlQueryException
 */
abstract public function getVersion();

/**
 * Returns error message of last failed database operation.
 *
 * @return string
 */
abstract public function getErrorMessage();

/**
 * Clears all internal caches which may be used by some dictionary functions.
 *
 * @return void
 */
public function clearCaches()
{
	$this->tableColumnsCache = array();
}