phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] tts/inc hook_manual.inc.php, 1.5 class.ipc_tts.inc.ph


From: powerstat
Subject: [Phpgroupware-cvs] tts/inc hook_manual.inc.php, 1.5 class.ipc_tts.inc.php, 1.2 class.bo.inc.php, 1.8 hook_preferences.inc.php, 1.8 functions.inc.php, 1.41 class.attachedFiles.inc.php, 1.3 class.subcategories.inc.php, 1.3 hook_settings.inc.php, 1.2 hook_admin.inc.php, 1.6 hook_home.inc.php, 1.14 hook_deleteaccount.inc.php, 1.2
Date: Tue, 10 May 2005 18:12:00 +0200

Update of tts/inc

Modified Files:
     Branch: MAIN
            hook_manual.inc.php lines: +11 -13
            class.ipc_tts.inc.php lines: +7 -4
            class.bo.inc.php lines: +14 -0
            hook_preferences.inc.php lines: +10 -13
            functions.inc.php lines: +16 -4
            class.attachedFiles.inc.php lines: +16 -16
            class.subcategories.inc.php lines: +20 -32
            hook_settings.inc.php lines: +10 -11
            hook_admin.inc.php lines: +10 -13
            hook_home.inc.php lines: +10 -11
            hook_deleteaccount.inc.php lines: +10 -12

Log Message:
Added phpdocs

====================================================
Index: tts/inc/hook_manual.inc.php
diff -u tts/inc/hook_manual.inc.php:1.4 tts/inc/hook_manual.inc.php:1.5
--- tts/inc/hook_manual.inc.php:1.4     Mon May 14 00:18:12 2001
+++ tts/inc/hook_manual.inc.php Tue May 10 16:12:38 2005
@@ -1,16 +1,14 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar Holidays                                         *
-  * http://www.phpgroupware.org                                              *
-  * Written by Mark Peters <address@hidden>                        *
-  * --------------------------------------------                             *
-  *  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$ */
+       /**
+       * Trouble Ticket System
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @subpackage hooks
+       * @version $Id$
+       */

 // Only Modify the $file variable.....
        $file = Array(
@@ -18,6 +16,6 @@
                'Create'        => 'create.php',
                'Edit/Close'    => 'edit_close.php'
        );
-//Do not modify below this line
+// Do not modify below this line
        display_manual_section($appname,$file);
 ?>

====================================================
Index: tts/inc/class.ipc_tts.inc.php
diff -u tts/inc/class.ipc_tts.inc.php:1.1 tts/inc/class.ipc_tts.inc.php:1.2
--- tts/inc/class.ipc_tts.inc.php:1.1   Tue Dec 14 20:00:16 2004
+++ tts/inc/class.ipc_tts.inc.php       Tue May 10 16:12:38 2005
@@ -1,19 +1,22 @@
 <?php
        /**
        * IPC Class for TTS
+       *
        * @author Christian Wederhake <address@hidden>
        * @copyright Copyright (C) 2003-2004 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
-       * @package phpgwapi
-       * @subpackage communication
+       * @package tts
        * @version $Id$
        */

+       /**
+        * Define Folder length
+        */
        define('FOLD_LENGTH',75);

        /**
        * Fassade of the todo application.
-       * @package      todo
+       * @package tts
        */
        class ipc_tts extends ipc_ {
                /**

====================================================
Index: tts/inc/class.bo.inc.php
diff -u tts/inc/class.bo.inc.php:1.7 tts/inc/class.bo.inc.php:1.8
--- tts/inc/class.bo.inc.php:1.7        Tue Dec 14 20:02:17 2004
+++ tts/inc/class.bo.inc.php    Tue May 10 16:12:38 2005
@@ -1,5 +1,19 @@
 <?php
+       /**
+       * Trouble Ticket System - business object
+       *
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @version $Id$
+       */

+
+       /**
+       * Business object
+       *
+       * @package tts
+       */
        class bo
        {
                var $db;

====================================================
Index: tts/inc/hook_preferences.inc.php
diff -u tts/inc/hook_preferences.inc.php:1.7 
tts/inc/hook_preferences.inc.php:1.8
--- tts/inc/hook_preferences.inc.php:1.7        Mon Oct 11 09:43:14 2004
+++ tts/inc/hook_preferences.inc.php    Tue May 10 16:12:38 2005
@@ -1,17 +1,14 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare                                                          
   *
-       * http://www.phpgroupware.org                                           
   *
-       * Written by Joseph Engo <address@hidden>                          *
-       * --------------------------------------------                          
   *
-       *  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$
+       /**
+       * Trouble Ticket System
+       *
+       * @author Joseph Engo <address@hidden>
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @subpackage hooks
+       * @version $Id$
+       */

        $values = array(
                'Preferences'           => 
$GLOBALS['phpgw']->link('/preferences/preferences.php','appname=tts'),

====================================================
Index: tts/inc/functions.inc.php
diff -u tts/inc/functions.inc.php:1.40 tts/inc/functions.inc.php:1.41
--- tts/inc/functions.inc.php:1.40      Mon Oct 11 09:43:14 2004
+++ tts/inc/functions.inc.php   Tue May 10 16:12:38 2005
@@ -1,13 +1,25 @@
 <?php
-  /* $Id$ */
+       /**
+       * Trouble Ticket System
+       *
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @version $Id$
+       */

-       //open and print each line of a file
+
+       /**
+        * Open and print each line of a file
+        *
+        * @param string $textFile
+        */
        function rfile($textFile)
        {
                $myFile = fopen("$textFile", "r");
                if(!($myFile))
                {
-                       print("<P><B>Error: </B>");
+                       print("<p><b>Error:</b> ");
                        print("<i>'$textFile'</i> could not be read\n");
                        $phpgw->common->phpgw_exit();
                }
@@ -15,7 +27,7 @@
                {
                        while(!feof($myFile)) {
                                $myLine = fgets($myFile, 255);
-                               print("$myLine <BR>\n");
+                               print("$myLine <br />\n");
                        }
                        fclose($myFile);
                }

====================================================
Index: tts/inc/class.attachedFiles.inc.php
diff -u tts/inc/class.attachedFiles.inc.php:1.2 
tts/inc/class.attachedFiles.inc.php:1.3
--- tts/inc/class.attachedFiles.inc.php:1.2     Mon Oct 11 09:43:14 2004
+++ tts/inc/class.attachedFiles.inc.php Tue May 10 16:12:38 2005
@@ -1,20 +1,20 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - attachedFiles                                             *
-  * http://www.phpgroupware.org                                              *
-  * This file is written by Lars Piepho <address@hidden>             *
-  * Copyright (C) 2003 probusiness AG (Lars Piepho)                          *
-  *                                                                          *
-  * --------------------------------------------                             *
-  *  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$ */
-
-
+       /**
+       * Trouble Ticket System - Attached files
+       *
+       * @author Lars Piepho <address@hidden>
+       * @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 tts
+       * @version $Id$
+       */
+
+
+       /**
+       * Attached files
+       *
+       * @package tts
+       */
        class attachedFiles
        {


====================================================
Index: tts/inc/class.subcategories.inc.php
diff -u tts/inc/class.subcategories.inc.php:1.2 
tts/inc/class.subcategories.inc.php:1.3
--- tts/inc/class.subcategories.inc.php:1.2     Mon Oct 11 09:43:14 2004
+++ tts/inc/class.subcategories.inc.php Tue May 10 16:12:38 2005
@@ -1,39 +1,27 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare API - Subcategories                                      
   *
-       * This file written by Joseph Engo <address@hidden>                *
-       *                  and Bettina Gille address@hidden                *
-       * Subcategory manager                                                   
   *
-       * Copyright (C) 2000, 2001 Joseph Engo, Bettina Gille                   
   *
-       * Copyright (C) 2002, 2003 Bettina Gille                                
   *
-       * Copyright (C) 2003 probusiness AG (Lars Piepho)                       
                           *
-       * 
------------------------------------------------------------------------ *
-       * This library is part of the phpGroupWare API                          
   *
-       * http://www.phpgroupware.org                                           
   *
-       * 
------------------------------------------------------------------------ *
-       * 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 *
-       * along with this library; if not, write to the Free Software 
Foundation,  *
-       * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA         
   *
-       
\**************************************************************************/
-       // $Id$
-       // $Source$
+       /**
+       * Trouble Ticket System - Subcategory manager
+       *
+       * @author Joseph Engo <address@hidden>
+       * @author Bettina Gille address@hidden
+       * @author Lars Piepho <address@hidden>
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
+       * @package tts
+       * @version $Id$
+       */

+       /**
+        * Include apis category class
+        */
        require_once constant('PHPGW_INCLUDE_ROOT') . 
"/phpgwapi/inc/class.categories.inc.php";

-       /*!
-       @class subcategories
-       @abstract class adds ability for applications to make use of 
subcategories
-       @discussion examples can be found in notes app
-       */
-
+       /**
+       * Subcategory manager
+       *
+       * Adds ability for applications to make use of subcategories
+       * @package tts
+       */
        class subcategories extends categories
        {
                var $platform_id = 0;

====================================================
Index: tts/inc/hook_settings.inc.php
diff -u tts/inc/hook_settings.inc.php:1.1 tts/inc/hook_settings.inc.php:1.2
--- tts/inc/hook_settings.inc.php:1.1   Sat Oct  6 05:04:33 2001
+++ tts/inc/hook_settings.inc.php       Tue May 10 16:12:38 2005
@@ -1,15 +1,14 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - Preferences                                            
   *
-       * 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$ */
+       /**
+       * Trouble Ticket System
+       *
+       * @author Joseph Engo <address@hidden>
+       * @copyright Copyright (C) 2001,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @subpackage hooks
+       * @version $Id$
+       */

        $yes_and_no = array(
                'True' => 'Yes',

====================================================
Index: tts/inc/hook_admin.inc.php
diff -u tts/inc/hook_admin.inc.php:1.5 tts/inc/hook_admin.inc.php:1.6
--- tts/inc/hook_admin.inc.php:1.5      Mon Oct 11 09:43:14 2004
+++ tts/inc/hook_admin.inc.php  Tue May 10 16:12:38 2005
@@ -1,17 +1,14 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare                                                          
   *
-       * http://www.phpgroupware.org                                           
   *
-       * Written by Joseph Engo <address@hidden>                          *
-       * --------------------------------------------                          
   *
-       *  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$
+       /**
+       * Trouble Ticket System
+       *
+       * @author Joseph Engo <address@hidden>
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @subpackage hooks
+       * @version $Id$
+       */

        $values = array
        (

====================================================
Index: tts/inc/hook_home.inc.php
diff -u tts/inc/hook_home.inc.php:1.13 tts/inc/hook_home.inc.php:1.14
--- tts/inc/hook_home.inc.php:1.13      Mon Oct 11 09:43:14 2004
+++ tts/inc/hook_home.inc.php   Tue May 10 16:12:38 2005
@@ -1,15 +1,14 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - TTS                                                       *
-  * 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$ */
+       /**
+       * Trouble Ticket System
+       *
+       * @author Joseph Engo <address@hidden>
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @subpackage hooks
+       * @version $Id$
+       */

        $d1 = 
strtolower(substr($GLOBALS['phpgw_info']['server']['app_inc'],0,3));
        if($d1 == 'htt' || $d1 == 'ftp' )

====================================================
Index: tts/inc/hook_deleteaccount.inc.php
diff -u tts/inc/hook_deleteaccount.inc.php:1.1 
tts/inc/hook_deleteaccount.inc.php:1.2
--- tts/inc/hook_deleteaccount.inc.php:1.1      Tue Dec 14 21:46:27 2004
+++ tts/inc/hook_deleteaccount.inc.php  Tue May 10 16:12:38 2005
@@ -1,16 +1,14 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare                                                             *
-  * http://www.phpgroupware.org                                              *
-  * Written by Mark Peters <address@hidden>                        *
-  * --------------------------------------------                             *
-  *  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$ */
+       /**
+       * Trouble Ticket System
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2000-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package tts
+       * @subpackage hooks
+       * @version $Id$
+       */

        $GLOBALS['phpgw']->db->query("UPDATE phpgw_tts_tickets SET ticket_owner 
= "
                . intval($GLOBALS['HTTP_POST_VARS']['new_owner'])






reply via email to

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