fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11134] missing function in frontend


From: Sigurd Nes
Subject: [Fmsystem-commits] [11134] missing function in frontend
Date: Tue, 28 May 2013 09:09:26 +0000

Revision: 11134
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11134
Author:   sigurdne
Date:     2013-05-28 09:09:26 +0000 (Tue, 28 May 2013)
Log Message:
-----------
missing function in frontend

Added Paths:
-----------
    trunk/mobilefrontend/inc/class.bocommon.inc.php

Added: trunk/mobilefrontend/inc/class.bocommon.inc.php
===================================================================
--- trunk/mobilefrontend/inc/class.bocommon.inc.php                             
(rev 0)
+++ trunk/mobilefrontend/inc/class.bocommon.inc.php     2013-05-28 09:09:26 UTC 
(rev 11134)
@@ -0,0 +1,54 @@
+<?php
+       /**
+       * phpGroupWare - property: a Facilities Management System.
+       *
+       * @author Sigurd Nes <address@hidden>
+       * @copyright Copyright (C) 
2003,2004,2005,2006,2007,2008,2009,2010,2011,2012 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * This file is part of phpGroupWare.
+       *
+       * phpGroupWare 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.
+       *
+       * phpGroupWare 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 phpGroupWare; if not, write to the Free Software
+       * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 
 USA
+       *
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
+       * @package property
+       * @subpackage core
+       * @version $Id: class.bocommon.inc.php 10997 2013-03-18 11:56:29Z 
sigurdne $
+       */
+
+       /**
+        * Description
+        * @package property
+        */
+
+       class mobilefrontend_bocommon
+       {
+
+               function __construct()
+               {
+               }
+
+               /**
+               * Check if session is expired
+               */
+               function confirm_session()
+               {
+                       if($GLOBALS['phpgw']->session->verify())
+                       {
+                               header('Content-Type: application/json');
+                               echo 
json_encode(array('sessionExpired'=>false));
+                               $GLOBALS['phpgw']->common->phpgw_exit();
+                       }
+               }
+       }




reply via email to

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