Mapbender 3.0.6.0 API documenation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • FOM
    • CoreBundle
      • Component
      • DependencyInjection
      • Doctrine
        • Types
      • Form
        • DataTransformer
        • Type
    • ManagerBundle
      • Component
      • Configuration
      • Controller
      • DependencyInjection
        • Compiler
      • Form
        • Type
      • Routing
    • UserBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
        • Factory
      • Entity
      • EventListener
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Firewall
  • Mapbender
    • Component
    • CoreBundle
      • Asset
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
          • Application
      • DependencyInjection
        • Compiler
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
      • Tests
        • Controller
      • Utils
      • Validator
        • Constraints
    • DataSourceBundle
      • Component
        • Drivers
          • Interfaces
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Extension
      • Tests
    • DigitizerBundle
      • Component
      • Element
        • Type
      • Entity
      • Utils
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Component
        • Exception
      • Controller
      • Form
        • DataTransformer
        • Type
      • Template
    • MobileBundle
      • DependencyInjection
      • Template
    • PrintBundle
      • Component
      • Element
        • Type
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
      • Tests
        • Component
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • Event
      • Form
        • DataTransformer
        • EventListener
        • Type
  • None
  • OwsProxy3
    • CoreBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Entity
      • Event
      • EventListener
      • Worker
  • PHP

Classes

  • DrupalSessionHandler
  • DrupalSessionStorage

Class DrupalSessionStorage

Mapbender\DrupalIntegrationBundle\Session\DrupalSessionStorage implements Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface
Namespace: Mapbender\DrupalIntegrationBundle\Session
Located at Mapbender/DrupalIntegrationBundle/Session/DrupalSessionStorage.php

Methods summary

public
# __construct( array $options = array(), object $handler = null, Symfony\Component\HttpFoundation\Session\Storage\MetadataBag $metaBag = NULL )

Constructor.

Constructor.

Depending on how you want the storage driver to behave you probably want to override this constructor entirely.

List of options for $options array with their defaults.

Parameters

$options
Session configuration options.
$handler
SessionHandlerInterface.
$metaBag
MetadataBag.

See

http://php.net/session.configuration for options but we omit 'session.' from the beginning of the keys for convenience. ("auto_start", is not supported as it tells PHP to start a session before PHP starts to execute user-land code. Setting during runtime has no effect). cache_limiter, "nocache" (use "0" to prevent headers from being sent entirely). cookie_domain, "" cookie_httponly, "" cookie_lifetime, "0" cookie_path, "/" cookie_secure, "" entropy_file, "" entropy_length, "0" gc_divisor, "100" gc_maxlifetime, "1440" gc_probability, "1" hash_bits_per_character, "4" hash_function, "0" name, "PHPSESSID" referer_check, "" serialize_handler, "php" use_cookies, "1" use_only_cookies, "1" use_trans_sid, "0" upload_progress.enabled, "1" upload_progress.cleanup, "1" upload_progress.prefix, "upload_progress_" upload_progress.name, "PHP_SESSION_UPLOAD_PROGRESS" upload_progress.freq, "1%" upload_progress.min-freq, "1" url_rewriter.tags, "a=href, area=href, frame=src, form=, fieldset="
public Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
# getSaveHandler( )

Gets the save handler instance.

Gets the save handler instance.

Returns

Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
AbstractProxy
public
# start( )
public
# getId( )
public
# setId( mixed $id )
public
# getName( )
public
# setName( mixed $name )
public
# regenerate( mixed $destroy = false, mixed $lifetime = null )
public
# save( )
public
# clear( )
public
# registerBag( Symfony\Component\HttpFoundation\Session\SessionBagInterface $bag )
public
# getBag( mixed $name )
public
# setMetadataBag( Symfony\Component\HttpFoundation\Session\Storage\MetadataBag $metaBag = NULL )

Sets the MetadataBag.

Sets the MetadataBag.

Parameters

$metaBag
public Symfony\Component\HttpFoundation\Session\Storage\MetadataBag
# getMetadataBag( )

Gets the MetadataBag.

Gets the MetadataBag.

Returns

Symfony\Component\HttpFoundation\Session\Storage\MetadataBag
MetadataBag
public
# isStarted( )
public
# setOptions( array $options )

Sets session.* ini variables.

Sets session.* ini variables.

For convenience we omit 'session.' from the beginning of the keys. Explicitly ignores other ini keys.

Parameters

$options
Session ini directives array(key => value).

See

http://php.net/session.configuration
public
# setSaveHandler( object $saveHandler = null )

Registers save handler as a PHP session handler.

Registers save handler as a PHP session handler.

To use internal PHP session save handlers, override this method using ini_set with session.save_handlers and session.save_path e.g.
ini_set('session.save_handlers', 'files'); ini_set('session.save_path', /tmp');

Parameters

$saveHandler
Default null means NativeProxy.

See

http://php.net/session-set-save-handler
http://php.net/sessionhandlerinterface
http://php.net/sessionhandler
protected
# loadSession( array & $session = null )

Load the session with attributes.

Load the session with attributes.

After starting the session, PHP retrieves the session from whatever handlers are set to (either PHP's internal, or a custom save handler set with session_set_save_handler()). PHP takes the return value from the read() handler, unserializes it and populates $_SESSION with the result automatically.

Parameters

$session

Magic methods summary

Properties summary

protected array $bags

Array of SessionBagInterface

Array of SessionBagInterface

#
protected boolean $started
#false
protected boolean $closed
#false
protected Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy $saveHandler
#
protected Symfony\Component\HttpFoundation\Session\Storage\MetadataBag $metadataBag
#
Mapbender 3.0.6.0 API documenation API documentation generated by ApiGen 2.8.0