Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • EsmithDatabaseTest
  • NethPlatformTest
  • PhpWrapperExec
  • SessionDatabaseTest
  • TestSession
  • ValidatorTest
  • Overview
  • Namespace
  • Class
  • Deprecated

Class TestSession

Access to the session storage

ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
Extended by Nethgui\Test\Unit\Nethgui\System\TestSession implements Nethgui\Utility\SessionInterface
Namespace: Nethgui\Test\Unit\Nethgui\System
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Test/Unit/Nethgui/System/SessionDatabaseTest.php
Methods summary
public SessionInterface
# login( )

Returns

SessionInterface

Api

Implementation of

Nethgui\Utility\SessionInterface::login()
public SessionInterface
# logout( )

Returns

SessionInterface

Api

Implementation of

Nethgui\Utility\SessionInterface::logout()
public Serializable
# retrieve( string $key )

Get a stored Serializable object

Get a stored Serializable object

Parameters

$key

Returns

Serializable
The stored object

Api

Implementation of

Nethgui\Utility\SessionInterface::retrieve()
public SessionInterface
# store( string $key, Serializable $object = NULL )

Put a Serializable object into the session storage

Put a Serializable object into the session storage

Parameters

$key
$object

Returns

SessionInterface
The same SessionInterface object

Api

Implementation of

Nethgui\Utility\SessionInterface::store()
Methods inherited from ArrayObject
__construct(), append(), asort(), count(), exchangeArray(), getArrayCopy(), getFlags(), getIterator(), getIteratorClass(), ksort(), natcasesort(), natsort(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), serialize(), setFlags(), setIteratorClass(), uasort(), uksort(), unserialize()
Constants inherited from ArrayObject
ARRAY_AS_PROPS, STD_PROP_LIST
Nethgui Framework API documentation generated by ApiGen