Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

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\Http\Diagnostics;
 9: 
10: use Nette;
11: 
12: 
13: /**
14:  * Session panel for Debugger Bar.
15:  *
16:  * @author     David Grudl
17:  */
18: class SessionPanel extends Nette\Object implements Nette\Diagnostics\IBarPanel
19: {
20: 
21:     /**
22:      * Renders tab.
23:      * @return string
24:      */
25:     public function getTab()
26:     {
27:         ob_start();
28:         require __DIR__ . '/templates/SessionPanel.tab.phtml';
29:         return ob_get_clean();
30:     }
31: 
32: 
33:     /**
34:      * Renders panel.
35:      * @return string
36:      */
37:     public function getPanel()
38:     {
39:         ob_start();
40:         require __DIR__ . '/templates/SessionPanel.panel.phtml';
41:         return ob_get_clean();
42:     }
43: 
44: }
45: 
Nette 2.1 API documentation generated by ApiGen 2.8.0