phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/setup default_records.inc.php, 1.17 tables_b


From: powerstat
Subject: [Phpgroupware-cvs] phpgwapi/setup default_records.inc.php, 1.17 tables_baseline.inc.php, 1.8 tables_current.inc.php, 1.52 setup.inc.php, 1.65 test_data.inc.php, 1.4 tables_update.inc.php, 1.81
Date: Thu, 28 Apr 2005 10:11:00 +0200

Update of phpgwapi/setup

Modified Files:
     Branch: MAIN
            default_records.inc.php lines: +8 -11
            tables_baseline.inc.php lines: +8 -11
            tables_current.inc.php lines: +9 -12
            setup.inc.php lines: +12 -20
            test_data.inc.php lines: +8 -12
            tables_update.inc.php lines: +32 -18

Log Message:
phpdocs added to the rest outside inc

====================================================
Index: phpgwapi/setup/default_records.inc.php
diff -u phpgwapi/setup/default_records.inc.php:1.16 
phpgwapi/setup/default_records.inc.php:1.17
--- phpgwapi/setup/default_records.inc.php:1.16 Thu Dec 30 06:47:33 2004
+++ phpgwapi/setup/default_records.inc.php      Thu Apr 28 08:11:59 2005
@@ -1,15 +1,12 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Setup                                                     *
-  * http://www.phpgroupware.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$ */
+       /**
+       * Setup
+       * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgwapi
+       * @subpackage setup
+       * @version $Id$
+       */

        $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages 
(lang_id, lang_name, available) VALUES ('aa','Afar','No')");
        $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages 
(lang_id, lang_name, available) VALUES ('ab','Abkhazian','No')");

====================================================
Index: phpgwapi/setup/tables_baseline.inc.php
diff -u phpgwapi/setup/tables_baseline.inc.php:1.7 
phpgwapi/setup/tables_baseline.inc.php:1.8
--- phpgwapi/setup/tables_baseline.inc.php:1.7  Thu Dec 30 06:47:33 2004
+++ phpgwapi/setup/tables_baseline.inc.php      Thu Apr 28 08:11:59 2005
@@ -1,15 +1,12 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare                                                             *
-  * http://www.phpgroupware.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$ */
+       /**
+       * Setup
+       * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgwapi
+       * @subpackage setup
+       * @version $Id$
+       */

        $phpgw_baseline = array(
                'config' => array(

====================================================
Index: phpgwapi/setup/tables_current.inc.php
diff -u phpgwapi/setup/tables_current.inc.php:1.51 
phpgwapi/setup/tables_current.inc.php:1.52
--- phpgwapi/setup/tables_current.inc.php:1.51  Thu Dec 30 06:47:33 2004
+++ phpgwapi/setup/tables_current.inc.php       Thu Apr 28 08:11:59 2005
@@ -1,16 +1,13 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare                                                          
   *
-       * http://www.phpgroupware.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$
-       // $Source$
+       /**
+       * Setup
+       * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgwapi
+       * @subpackage setup
+       * @version $Id$
+       * @internal $Source$
+       */

        $phpgw_baseline = array(
                'phpgw_config' => array(

====================================================
Index: phpgwapi/setup/setup.inc.php
diff -u phpgwapi/setup/setup.inc.php:1.64 phpgwapi/setup/setup.inc.php:1.65
--- phpgwapi/setup/setup.inc.php:1.64   Thu Dec 30 06:47:33 2004
+++ phpgwapi/setup/setup.inc.php        Thu Apr 28 08:11:59 2005
@@ -1,18 +1,15 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - phpgwapi setup                                         
   *
-       * http://www.phpgroupware.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.                                           
   *
-       
\**************************************************************************/
+       /**
+       * API Setup
+       * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgwapi
+       * @subpackage setup
+       * @version $Id$
+       * @internal $Source$
+       */

-       // $Id$
-       // $Source$
-
-       /* Basic information about this app */
+       // Basic information about this app
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
        $setup_info['phpgwapi']['title']     = 'phpgwapi';
        $setup_info['phpgwapi']['version']   = '0.9.17.500';
@@ -20,7 +17,7 @@
        $setup_info['phpgwapi']['enable']    = 3;
        $setup_info['phpgwapi']['app_order'] = 1;

-       /* The tables this app creates */
+       // The tables this app creates
        $setup_info['phpgwapi']['tables'][]  = 'phpgw_config';
        $setup_info['phpgwapi']['tables'][]  = 'phpgw_applications';
        $setup_info['phpgwapi']['tables'][]  = 'phpgw_acl';
@@ -55,7 +52,7 @@
        $setup_info['phpgwapi']['tables'][]  = 'phpgw_contact_others';
        $setup_info['phpgwapi']['tables'][]  = 'phpgw_contact_types';

-       /* Basic information about this app */
+       // Basic information about this app
        $setup_info['notifywindow']['name']      = 'notifywindow';
        $setup_info['notifywindow']['title']     = 'Notify Window';
        $setup_info['notifywindow']['version']   = '0.9.13.002';
@@ -63,8 +60,3 @@
        $setup_info['notifywindow']['app_order'] = 1;
        $setup_info['notifywindow']['tables']    = '';
        $setup_info['notifywindow']['hooks'][]   = 'home';
-
-
-
-
-

====================================================
Index: phpgwapi/setup/test_data.inc.php
diff -u phpgwapi/setup/test_data.inc.php:1.3 
phpgwapi/setup/test_data.inc.php:1.4
--- phpgwapi/setup/test_data.inc.php:1.3        Thu Dec 30 06:47:33 2004
+++ phpgwapi/setup/test_data.inc.php    Thu Apr 28 08:11:59 2005
@@ -1,15 +1,12 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Setup                                                     *
-  * http://www.phpgroupware.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$ */
+       /**
+       * Setup
+       * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgwapi
+       * @subpackage setup
+       * @version $Id$
+       */

        $oProc->query("INSERT INTO addressbook (
        ab_owner,ab_access,ab_firstname,ab_lastname,
@@ -40,5 +37,4 @@
        
'address@hidden','212-555-5555','212-555-4444','212-555-4445','212-555-5556',
        '212-555-5557','212-555-5558','321 Contact','Oiforgot','North 
Dakota','15421',
        '10/05/1955','This is a test note\nfor verification','Baubles and 
Beads')");
-
 ?>

====================================================
Index: phpgwapi/setup/tables_update.inc.php
diff -u phpgwapi/setup/tables_update.inc.php:1.80 
phpgwapi/setup/tables_update.inc.php:1.81
--- phpgwapi/setup/tables_update.inc.php:1.80   Sun Jan 16 21:33:48 2005
+++ phpgwapi/setup/tables_update.inc.php        Thu Apr 28 08:11:59 2005
@@ -1,24 +1,28 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - Setup                                                  
   *
-       * http://www.phpgroupware.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$
-       // $Source$
-
-       /* Include older phpGroupWare update support */
-       //include('tables_update_0_9_9.inc.php');
-       //include('tables_update_0_9_10.inc.php');
-       //include('tables_update_0_9_12.inc.php');
+       /**
+       * Setup
+       * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package phpgwapi
+       * @subpackage setup
+       * @version $Id$
+       * @internal $Source$
+       */
+
+       // Include older phpGroupWare update support
+       // include('tables_update_0_9_9.inc.php');
+       // include('tables_update_0_9_10.inc.php');
+       // include('tables_update_0_9_12.inc.php');

-       /* This is since the last release */
+       // This is since the last release
+
        $test[] = '0.9.12';
+
+       /**
+       * Upgrade API from 0.9.12 to 0.9.13.001
+       *
+       * @return string API version after update
+       */
        function phpgwapi_upgrade0_9_12()
        {
                //global $setup_info,$phpgw_setup;
@@ -59,6 +63,14 @@
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
        }

+
+       /**
+       * phpgroupware main dummy class
+       *
+       * @package phpgwapi
+       * @subpackage setup
+       * @ignore
+       */
        class phpgw
        {
                var $common;
@@ -66,6 +78,8 @@
                var $applications;
                var $db;
        }
+
+
        $test[] = '0.9.13.004';
        function phpgwapi_upgrade0_9_13_004()
        {






reply via email to

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