--- /dev/null
+<?php
+/* session.class.php
+ * Copyright (C) 2011 - 2013 Jan Altensen (Stricted)
+ * http://stricted.de/
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+class session {
+
+ public function __construct () { /* not needed */ }
+
+ public function start () {
+ session_start();
+ }
+
+ public function status () {
+ return session_status();
+ }
+
+ public function destroy () {
+ return session_destroy();
+ }
+
+ public function unset () {
+ session_unset();
+ }
+
+ public function cache_expire ($new_cache_expire = '') {
+ session_cache_expire($new_cache_expire);
+ }
+
+ public function encode () {
+ return session_encode();
+ }
+
+ public function decode ($data) {
+ return session_decode($data);
+ }
+
+ public function shutdown () {
+ session_register_shutdown();
+ session_write_close();
+ }
+
+ public function getID ($set = '') {
+ return session_id($set);
+ }
+
+ public function cache_limiter ($cache_limiter = '') {
+ return session_cache_limiter($cache_limiter);
+ }
+
+ public function get_cookie_params () {
+ return session_get_cookie_params();
+ }
+
+ public function module_name ($module = '') {
+ return module_name($module);
+ }
+
+ public function regenerate_id ($delete_old_session = false) {
+ return session_regenerate_id($delete_old_session);
+ }
+
+ public function save_path ($path = '') {
+ return session_save_path($path);
+ }
+ /* too lazy to comment this class :D */
+}
+?>
\ No newline at end of file