API Documentation

Zend/Session/SaveHandler/Interface.php

Show: inherited
    Table of Contents

    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.

    Category
    Zend  
    Copyright
    Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  
    Package
    Zend_Session  
    Since
    Preview Release 0.2  
    Version
    $Id: Interface.php 24594 2012-01-05 21:27:01Z matthew $  

    \Zend_Session_SaveHandler_Interface

    Package: Zend\Session\SaveHandler

    Zend_Session_SaveHandler_Interface

    See
    \http://php.net/session_set_save_handler  
    Category
    Zend  
    Copyright
    Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublicclose( ) : void

    Close Session - free resources

    methodpublicdestroy( string $id ) : void

    Destroy Session - remove data from resource for given session id

    Parameters
    Name Type Description
    $id string
    methodpublicgc( int $maxlifetime ) : void

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

    Parameters
    Name Type Description
    $maxlifetime int
    methodpublicopen( string $save_path, string $name ) : void

    Open Session - retrieve resources

    Parameters
    Name Type Description
    $save_path string
    $name string
    methodpublicread( string $id ) : void

    Read session data

    Parameters
    Name Type Description
    $id string
    methodpublicwrite( string $id, mixed $data ) : void

    Write Session - commit data to resource

    Parameters
    Name Type Description
    $id string
    $data mixed
    Documentation was generated by DocBlox 0.15.1.