System
[ class tree: System ] [ index: System ] [ all elements ]

Class: ISession

Source Location: /classes.php

Interface Overview


ISession interface

Class Details

[line 28]
ISession interface

Session class must implement this interface.




version:  v1.0, last update on 2004/10/24 12:00:00
author:  Qiang Xue <qiang.xue@gmail.com>


[ Top ]

Methods



Class Methods


method clear [line 51]

void clear( string $name)

Unsets a session variable.



access:  public


Parameters:

string   $name   the session variable name

[ Top ]

method destroy [line 59]

void destroy( )

Destroys the session.



access:  public


[ Top ]

method get [line 40]

mixed get( the $name)

Returns the value of the named session variable



return:  the value of the session variable
access:  public


Parameters:

the   $name   name of the session variable

[ Top ]

method has [line 34]

boolean has( mixed $name)

Checks if the named session variable exists.



return:  whether the named session variable exists
access:  public


[ Top ]

method isStarted [line 63]

boolean isStarted( )



return:  whether the session is started
access:  public


[ Top ]

method set [line 46]

void set( string $name, mixed $value)

Sets a session variable



access:  public


Parameters:

string   $name   the session variable name
mixed   $value   the variable value

[ Top ]

method start [line 55]

void start( )

Starts the session.



access:  public


[ Top ]


© 2004-2005 PRADO Software Group. All Rights Reserved.