• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/database.php
  • Класс: CAllDatabase
  • Вызов: CAllDatabase::ForSql
public function ForSql($strValue, $iMaxLength=0)
{
	$this->Doconnect();
	return $this->connection->getSqlHelper()->forSql($strValue, $iMaxLength);
}