PHP Класс Auth_Yadis_PHPSession

Показать файл Открыть проект

Открытые методы

Метод Описание
contents ( ) Return the contents of the session in array form.
del ( string $name ) Remove a key/value pair from the session.
get ( string $name, string $default = null ) : string Get a key's value from the session.
set ( string $name, string $value ) Set a session key/value pair.

Описание методов

contents() публичный Метод

Return the contents of the session in array form.
public contents ( )

del() публичный Метод

Remove a key/value pair from the session.
public del ( string $name )
$name string The name of the key to remove.

get() публичный Метод

Get a key's value from the session.
public get ( string $name, string $default = null ) : string
$name string The name of the key to retrieve.
$default string The optional value to return if the key is not found in the session.
Результат string $result The key's value in the session or $default if it isn't found.

set() публичный Метод

Set a session key/value pair.
public set ( string $name, string $value )
$name string The name of the session key to add.
$value string The value to add to the session.