phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.http_dav_client.inc.php,NONE


From: Jason Wies <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.http_dav_client.inc.php,NONE,1.1 class.vfs_dav.inc.php,NONE,1.1
Date: Thu, 06 Feb 2003 17:45:08 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv17133

Added Files:
        class.http_dav_client.inc.php class.vfs_dav.inc.php 
Log Message:
Initial commit.  From Jonathon Sim <address@hidden>

***** Error reading new file: [Errno 2] No such file or directory: 
'class.http_dav_client.inc.php'
--- NEW FILE ---
<?php
  /**************************************************************************\
  * phpGroupWare API - VFS                                                   *
  * This file written by Jason Wies (Zone) <address@hidden>           *
  * This class handles file/dir access for phpGroupWare                      *
  * Copyright (C) 2001-2003 Jason Wies, Jonathon Sim                            
 *
  * -------------------------------------------------------------------------*
  * This library is part of the phpGroupWare API                             *
  * http://www.phpgroupware.org/api                                          * 
  * ------------------------------------------------------------------------ *
  * This library is free software; you can redistribute it and/or modify it  *
  * under the terms of the GNU Lesser General Public License as published by *
  * the Free Software Foundation; either version 2.1 of the License,         *
  * or any later version.                                                    *
  * This library 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 Lesser General Public License for more details.              *
  * You should have received a copy of the GNU Lesser General Public License *
[...2939 lines suppressed...]
                function update_real()
                { //hmmm. things break without this, but it does nothing in 
this implementation
                        return True;
                }
                
                function save_session()
                {
                        //Save the overrided locks in the session
                        $app = $GLOBALS['phpgw_info']['flags']['currentapp'];
                        $a = array();
                        foreach ($this->override_locks as $name => $token)
                        {
                                $a[] = $name.';'.$token;        
                        }       
                        $session_data = implode('\n', $a);
                        $this->session = $GLOBALS['phpgw']->session->appsession 
('vfs_dav',$app, base64_encode($session_data));
                                
                }       
        }
?>





reply via email to

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