Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • SessionPanel
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://nette.org)
 5:  * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
 6:  */
 7: 
 8: namespace Nette\Bridges\HttpTracy;
 9: 
10: use Nette;
11: use Tracy;
12: 
13: 
14: /**
15:  * Session panel for Debugger Bar.
16:  */
17: class SessionPanel extends Nette\Object implements Tracy\IBarPanel
18: {
19: 
20:     /**
21:      * Renders tab.
22:      * @return string
23:      */
24:     public function getTab()
25:     {
26:         ob_start(function () {});
27:         require __DIR__ . '/templates/SessionPanel.tab.phtml';
28:         return ob_get_clean();
29:     }
30: 
31: 
32:     /**
33:      * Renders panel.
34:      * @return string
35:      */
36:     public function getPanel()
37:     {
38:         ob_start(function () {});
39:         require __DIR__ . '/templates/SessionPanel.panel.phtml';
40:         return ob_get_clean();
41:     }
42: 
43: }
44: 
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0