API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TSession
in package
implements AdiantiRegistryInterface

Session Data Handler

Tags
version
7.6
author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Interfaces

AdiantiRegistryInterface
Registry interface

Methods

__construct()  : mixed
Class Constructor
clear()  : mixed
Clear session
delValue()  : mixed
Clear the value for a variable
enabled()  : mixed
Returns if the service is active
freeSession()  : mixed
Destroy the session data Backward compatibility
getValue()  : mixed
Returns the value for a variable
regenerate()  : mixed
Regenerate id
setValue()  : mixed
Define the value for a variable

Methods

__construct()

Class Constructor

public __construct([SessionHandlerInterface $handler = NULL ][, mixed $path = NULL ]) : mixed
Parameters
$handler : SessionHandlerInterface = NULL
$path : mixed = NULL

clear()

Clear session

public static clear() : mixed

delValue()

Clear the value for a variable

public static delValue( $var) : mixed
Parameters
$var :

Variable Name

enabled()

Returns if the service is active

public static enabled() : mixed

freeSession()

Destroy the session data Backward compatibility

public static freeSession() : mixed

getValue()

Returns the value for a variable

public static getValue( $var) : mixed
Parameters
$var :

Variable Name

regenerate()

Regenerate id

public static regenerate() : mixed

setValue()

Define the value for a variable

public static setValue( $var, mixed $value) : mixed
Parameters
$var :

Variable Name

$value : mixed

Variable Value


        
On this page

Search results