phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/class.session.php, 1.1.1.3


From: nomail
Subject: [Phpgroupware-cvs] property/class.session.php, 1.1.1.3
Date: Fri, 21 May 2004 19:07:15 -0000

Update of /property
Modified Files:
        Branch: 
          class.session.php

date: 2004/04/23 21:26:33;  author: sigurdne;  state: Exp;  lines: +47 -47

Log Message:
no message
=====================================================================
Index: property/class.session.php
diff -u property/class.session.php:1.1.1.2 property/class.session.php:1.1.1.3
--- property/class.session.php:1.1.1.2  Fri Apr 23 20:25:34 2004
+++ property/class.session.php  Fri Apr 23 21:26:33 2004
@@ -1,47 +1,47 @@
-<?php
-       
/**************************************************************************\
-       * phpGroupWare - property                                               
   *
-       * http://www.phpgroupware.org                                           
   *
-       *                                                                       
   *
-       * Facilities Management                                                 
   *
-       * Written by Sigurd Nes [sigurdne at online.no]                         
   *
-       * 
------------------------------------------------------------------------ *
-       * Copyright 2000 - 2003 Free Software Foundation, Inc                   
   *
-       * This program is part of the GNU project, see http://www.gnu.org/      
   *
-       * 
------------------------------------------------------------------------ *
-       * 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 2 of the License, or (at 
your   *
-       * option) any later version.                                            
   *
-       
\**************************************************************************/
-       /* $Id$ */
-
-       class property_session
-       {
-               var $public_functions = array
-               (
-                       'appsession'=> True,
-               );
-
-               function property_session()
-               {
-                       $this->currentapp       = 'property';
-               }
-
-               function appsession($type='',$name='',$value='')
-               {
-                       if($value)
-                       {
-//                             $value = serialize($value);
-                               
$_SESSION['phpgw_session'][$this->currentapp][$type][$name]  = $value;
-                       }
-                       else
-                       {
-//                             $value= 
unserialize($_SESSION['phpgw_session'][$this->currentapp][$type][$name]);
-                               $value= 
$_SESSION['phpgw_session'][$this->currentapp][$type][$name];
-                               return $value;
-
-                       }
-               }
-       }
-?>
+<?php
+       
/**************************************************************************\
+       * phpGroupWare - property                                               
   *
+       * http://www.phpgroupware.org                                           
   *
+       *                                                                       
   *
+       * Facilities Management                                                 
   *
+       * Written by Sigurd Nes [sigurdne at online.no]                         
   *
+       * 
------------------------------------------------------------------------ *
+       * Copyright 2000 - 2003 Free Software Foundation, Inc                   
   *
+       * This program is part of the GNU project, see http://www.gnu.org/      
   *
+       * 
------------------------------------------------------------------------ *
+       * 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 2 of the License, or (at 
your   *
+       * option) any later version.                                            
   *
+       
\**************************************************************************/
+       /* $Id$ */
+
+       class property_session
+       {
+               var $public_functions = array
+               (
+                       'appsession'=> True,
+               );
+
+               function property_session()
+               {
+                       $this->currentapp       = 'property';
+               }
+
+               function appsession($type='',$name='',$value='')
+               {
+                       if($value)
+                       {
+//                             $value = serialize($value);
+                               
$_SESSION['phpgw_session'][$this->currentapp][$type][$name]  = $value;
+                       }
+                       else
+                       {
+//                             $value= 
unserialize($_SESSION['phpgw_session'][$this->currentapp][$type][$name]);
+                               $value= 
$_SESSION['phpgw_session'][$this->currentapp][$type][$name];
+                               return $value;
+
+                       }
+               }
+       }
+?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]