Design mode

In DIAFAN.CMS provides special tools for the developer: development mode (displays all PHP-error) and profiling of queries.

They are described class Dev in the file includes/developer.php.

Методы

void init () – Разрешает/запрещает вывод ошибок.

boolean set_profiling () – Активирует профилирование запросов, если это разрешено в параметрах.

boolean get_profiling () – Профилирование запросов.