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
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • SessionPanel
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
 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 implements Tracy\IBarPanel
18: {
19:     use Nette\SmartObject;
20: 
21:     /**
22:      * Renders tab.
23:      * @return string
24:      */
25:     public function getTab()
26:     {
27:         ob_start(function () {});
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(function () {});
40:         require __DIR__ . '/templates/SessionPanel.panel.phtml';
41:         return ob_get_clean();
42:     }
43: }
44: 
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0