Namespaces

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

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:  * @author     David Grudl
18:  */
19: class SessionPanel extends Nette\Object implements Tracy\IBarPanel
20: {
21: 
22:     /**
23:      * Renders tab.
24:      * @return string
25:      */
26:     public function getTab()
27:     {
28:         ob_start();
29:         require __DIR__ . '/templates/SessionPanel.tab.phtml';
30:         return ob_get_clean();
31:     }
32: 
33: 
34:     /**
35:      * Renders panel.
36:      * @return string
37:      */
38:     public function getPanel()
39:     {
40:         ob_start();
41:         require __DIR__ . '/templates/SessionPanel.panel.phtml';
42:         return ob_get_clean();
43:     }
44: 
45: }
46: 
Nette 2.2 API documentation generated by ApiGen 2.8.0