API Documentation

Session/SaveHandler/Interface.php

Interfaces
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Session
since
Preview Release 0.2
version
$Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
Interfaces
Zend_Session_SaveHandler_Interface

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Session_SaveHandler_Interface

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Session
see
http://php.net/session_set_save_handler
subpackage
SaveHandler
Methods
open
close
read
write
destroy
gc

Description

Zend_Session_SaveHandler_Interface

Methods

close

close( ) :

Close Session - free resources

Details
visibility
public
final
false
static
false

destroy

destroy( string $id ) :

Destroy Session - remove data from resource for given session id

Arguments
$id
string
Details
visibility
public
final
false
static
false

gc

gc( int $maxlifetime ) :

Garbage Collection - remove old session data older than $maxlifetime (in seconds)

Arguments
$maxlifetime
int
Details
visibility
public
final
false
static
false

open

open( string $save_path, string $name ) :

Open Session - retrieve resources

Arguments
$save_path
string
$name
string
Details
visibility
public
final
false
static
false

read

read( string $id ) :

Read session data

Arguments
$id
string
Details
visibility
public
final
false
static
false

write

write( string $id, mixed $data ) :

Write Session - commit data to resource

Arguments
$id
string
$data
mixed
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.