TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rsaauth\Storage\SplitStorage Class Reference
Inheritance diagram for TYPO3\CMS\Rsaauth\Storage\SplitStorage:
TYPO3\CMS\Rsaauth\Storage\AbstractStorage tx_rsaauth_split_storage

Public Member Functions

 __construct ()
 
 get ()
 
 put ($key)
 
- Public Member Functions inherited from TYPO3\CMS\Rsaauth\Storage\AbstractStorage
 get ()
 
 put ($key)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! This class contains a "split" storage for the data. It keeps part of the data in the database, part in the database.

Author
Dmitry Dulepov dmitr.nosp@m.y@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 22 of file SplitStorage.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Rsaauth\Storage\SplitStorage::__construct ( )

Creates an instance of this class. It checks and initializes PHP sessions if necessary.

Definition at line 28 of file SplitStorage.php.

Member Function Documentation

◆ get()

TYPO3\CMS\Rsaauth\Storage\SplitStorage::get ( )

Obtains a key from the database

Returns
string The key or NULL
See also
::get()

Definition at line 40 of file SplitStorage.php.

References $GLOBALS, and $result.

◆ put()

TYPO3\CMS\Rsaauth\Storage\SplitStorage::put (   $key)

Adds a key to the storage or removes existing key

Parameters
string$keyThe key
Returns
void
See also
::put()

Definition at line 62 of file SplitStorage.php.

References $GLOBALS.