• Модуль: forum
  • Путь к файлу: ~/bitrix/modules/forum/lib/badwords/dictionary.php
  • Класс: BitrixForumBadWordsDictionary
  • Вызов: Dictionary::getDataById
static function getDataById($id, $ttl = 84600)
{
	if (!array_key_exists($id, self::$dataById))
	{
		self::$dataById[$id] = self::getList([
			"select" => ["*"],
			"filter" => ["ID" => $id],
			"cache" => [
				"ttl" => $ttl
			]
		])->fetch();
	}
	return self::$dataById[$id];
}