Lançado Adianti Framework 7.6!
Clique aqui para saber mais
menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TSession

Description

Implements interfaces:

Session Data Handler

Located in /registry/TSession.php (line 16)


	
			
Method Summary
static clear ()
static delValue ($var)
static enabled ()
static freeSession ()
static getValue ($var)
static regenerate ()
static setValue ($var, $value)
__construct ([$handler = NULL], [$path = NULL])
Methods
static clear (line 118)

Clear session

  • access: public
static clear ()

Implementation of:
AdiantiRegistryInterface::clear()
static delValue (line 95)

Clear the value for a variable

  • access: public
static delValue ($var)
  • $var: Variable Name

Implementation of:
AdiantiRegistryInterface::delValue()
static enabled (line 43)

Returns if the service is active

  • access: public
static enabled ()

Implementation of:
AdiantiRegistryInterface::enabled()
static freeSession (line 127)

Destroy the session data

Backward compatibility

  • access: public
static freeSession ()
static getValue (line 73)

Returns the value for a variable

  • access: public
static getValue ($var)
  • $var: Variable Name

Implementation of:
AdiantiRegistryInterface::getValue()
static regenerate (line 110)

Regenerate id

  • access: public
static regenerate ()
static setValue (line 57)

Define the value for a variable

  • access: public
static setValue ($var, $value)
  • $var: Variable Name
  • $value: Variable Value

Implementation of:
AdiantiRegistryInterface::setValue()
Constructor __construct (line 21)

Class Constructor

  • access: public
__construct ([$handler = NULL], [$path = NULL])
  • $handler
  • $path