Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Controller
      • Form
        • DataTransformer
        • Type
    • MonitoringBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
      • Entity
      • EventListener
      • Form
    • PrintBundle
      • Component
      • Controller
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • EventListener
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • DrupalSessionHandler
  • DrupalSessionStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\DrupalIntegrationBundle\Session;
 4: 
 5: class DrupalSessionHandler implements \SessionHandlerInterface
 6: {
 7:     public function __construct()
 8:     {
 9:         //die("BFA");
10:     }
11: 
12:     /**
13:      * {@inheritDoc}
14:      */
15:     public function open($path, $name)
16:     {
17:         return true;
18:     }
19: 
20:     /**
21:      * {@inheritDoc}
22:      */
23:     public function close()
24:     {
25:         return true;
26:     }
27: 
28:     /**
29:      * {@inheritDoc}
30:      */
31:     public function destroy($id)
32:     {
33:         _drupal_session_destroy($id);
34:         return true;
35:     }
36: 
37:     /**
38:      * {@inheritDoc}
39:      */
40:     public function gc($lifetime)
41:     {
42:         _drupal_session_garbage_collection($lifetime);
43:         return true;
44:     }
45: 
46:     /**
47:      * {@inheritDoc}
48:      */
49:     public function read($id)
50:     {
51:         return _drupal_session_read($id);
52:     }
53: 
54:     /**
55:      * {@inheritDoc}
56:      */
57:     public function write($id, $data)
58:     {
59:         _drupal_session_write($id, $data);
60:         return true;
61:     }
62: }
63: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0