| 12345678910111213141516171819202122232425262728293031323334 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup Profiler Profiler
- * @ingroup UnaModules
- *
- * @{
- */
- /**
- * Profiler module by BoonEx
- *
- * This module estimate timining, like page openings, mysql queries execution and service calls.
- * Also it can log too long queries, so you can later investigate these bottle necks and speedup whole script.
- */
- class BxProfilerModule extends BxDolModule
- {
- function __construct($aModule)
- {
- parent::__construct($aModule);
- }
- function actionHome ()
- {
- $this->_oTemplate->pageStart();
- echo $this->_aModule['title'];
- $this->_oTemplate->pageCode($this->_aModule['title']);
- }
- }
- /** @} */
|