/** * Method called by ajax shows profiler bar at the bottom of screen */ public function showProfiler() { $this->willRenderActionView = false; $this->willRenderLayoutView = false; echo Profiler::display(); }