Andrey Andreev | 47a47fb | 2014-05-31 16:08:30 +0300 | [diff] [blame^] | 1 | <?php |
| 2 | /** |
| 3 | * CodeIgniter |
| 4 | * |
| 5 | * An open source application development framework for PHP 5.2.4 or newer |
| 6 | * |
| 7 | * NOTICE OF LICENSE |
| 8 | * |
| 9 | * Licensed under the Open Software License version 3.0 |
| 10 | * |
| 11 | * This source file is subject to the Open Software License (OSL 3.0) that is |
| 12 | * bundled with this package in the files license.txt / license.rst. It is |
| 13 | * also available through the world wide web at this URL: |
| 14 | * http://opensource.org/licenses/OSL-3.0 |
| 15 | * If you did not receive a copy of the license and are unable to obtain it |
| 16 | * through the world wide web, please send an email to |
| 17 | * licensing@ellislab.com so we can send you a copy immediately. |
| 18 | * |
| 19 | * @package CodeIgniter |
| 20 | * @author EllisLab Dev Team |
| 21 | * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
| 22 | * @license http://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) |
| 23 | * @link http://codeigniter.com |
| 24 | * @since Version 3.0 |
| 25 | * @filesource |
| 26 | */ |
| 27 | defined('BASEPATH') OR exit('No direct script access allowed'); |
| 28 | |
| 29 | /** |
| 30 | * SessionHandlerInterface |
| 31 | * |
| 32 | * PHP 5.4 compatibility interface |
| 33 | * |
| 34 | * @package CodeIgniter |
| 35 | * @subpackage Libraries |
| 36 | * @category Sessions |
| 37 | * @author Andrey Andreev |
| 38 | * @link http://codeigniter.com/user_guide/libraries/sessions.html |
| 39 | */ |
| 40 | interface SessionHandlerInterface { |
| 41 | |
| 42 | public function open($save_path, $name); |
| 43 | public function close(); |
| 44 | public function read($session_id); |
| 45 | public function write($session_id, $session_data); |
| 46 | public function destroy($session_id); |
| 47 | public function gc($maxlifetime); |
| 48 | } |
| 49 | |
| 50 | /* End of file SessionHandlerInterface.php */ |
| 51 | /* Location: ./system/libraries/Session/SessionHandlerInterface.php */ |