phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] calendar/inc class.boalarm.inc.php, 1.5 class.soholid


From: powerstat
Subject: [Phpgroupware-cvs] calendar/inc class.boalarm.inc.php, 1.5 class.soholiday.inc.php, 1.4 class.holidaycalc_US.inc.php, 1.8 class.socalendar_sql.inc.php, 1.35 class.uialarm.inc.php, 1.7 class.uiicalendar.inc.php, 1.7 class.calendar_holiday.inc.php, 1.24 class.socalendar_.inc.php, 1.5 class.holidaycalc_JP.inc.php, 1.3 class.calendar_icap.inc.php, 1.16 class.bocalendar.inc.php, 1.91 class.socalendar.inc.php, 1.27 class.boicalendar.inc.php, 1.22 class.uicalendar.inc.php, 1.106 class.boholiday.inc.php, 1.12 class.html.inc.php, 1.3 class.uiholiday.inc.php, 1.7 class.socalendar__.inc.php, 1.13 class.holidaycalc.inc.php, 1.6
Date: Wed, 11 May 2005 14:56:00 +0200

Update of calendar/inc

Modified Files:
     Branch: MAIN
            class.boalarm.inc.php lines: +17 -15
            class.soholiday.inc.php lines: +16 -13
            class.holidaycalc_US.inc.php lines: +16 -12
            class.socalendar_sql.inc.php lines: +17 -14
            class.uialarm.inc.php lines: +18 -15
            class.uiicalendar.inc.php lines: +18 -15
            class.calendar_holiday.inc.php lines: +16 -13
            class.socalendar_.inc.php lines: +20 -15
            class.holidaycalc_JP.inc.php lines: +18 -14
            class.calendar_icap.inc.php lines: +15 -12
            class.bocalendar.inc.php lines: +18 -15
            class.socalendar.inc.php lines: +18 -15
            class.boicalendar.inc.php lines: +18 -13
            class.uicalendar.inc.php lines: +18 -15
            class.boholiday.inc.php lines: +16 -13
            class.html.inc.php lines: +17 -14
            class.uiholiday.inc.php lines: +18 -15
            class.socalendar__.inc.php lines: +21 -15
            class.holidaycalc.inc.php lines: +18 -13

Log Message:
Added phpdocs

====================================================
Index: calendar/inc/class.boalarm.inc.php
diff -u calendar/inc/class.boalarm.inc.php:1.4 
calendar/inc/class.boalarm.inc.php:1.5
--- calendar/inc/class.boalarm.inc.php:1.4      Sat Nov 23 14:19:32 2002
+++ calendar/inc/class.boalarm.inc.php  Wed May 11 12:56:07 2005
@@ -1,19 +1,21 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
-
+       /**
+       * Calendar - Alarm
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */
+
+       /**
+       * Alarm
+       *
+       * @package calendar
+       */
        class boalarm
        {
                var $so;

====================================================
Index: calendar/inc/class.soholiday.inc.php
diff -u calendar/inc/class.soholiday.inc.php:1.3 
calendar/inc/class.soholiday.inc.php:1.4
--- calendar/inc/class.soholiday.inc.php:1.3    Thu Feb 27 19:28:25 2003
+++ calendar/inc/class.soholiday.inc.php        Wed May 11 12:56:07 2005
@@ -1,17 +1,20 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Holiday                                                   *
-  * 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$ */
-
+       /**
+       * Calendar - Holidays
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       */
+
+
+       /**
+       * Holidays
+       *
+       * @package calendar
+       */
        class soholiday
        {
                var $debug = False;

====================================================
Index: calendar/inc/class.holidaycalc_US.inc.php
diff -u calendar/inc/class.holidaycalc_US.inc.php:1.7 
calendar/inc/class.holidaycalc_US.inc.php:1.8
--- calendar/inc/class.holidaycalc_US.inc.php:1.7       Tue Apr 16 15:46:01 2002
+++ calendar/inc/class.holidaycalc_US.inc.php   Wed May 11 12:56:07 2005
@@ -1,18 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - holidaycalc_US                                            *
-  * http://www.phpgroupware.org                                              *
-  * Based on Yoshihiro Kamimura <address@hidden>                           *
-  *          http://www.itheart.com                                          *
-  * --------------------------------------------                             *
-  *  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.                                              *
-  \**************************************************************************/
+       /**
+       * Calendar - Holidays US
+       *
+       * @author Yoshihiro Kamimura <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on http://www.itheart.com/
+       */

-  /* $Id$ */

+       /**
+       * Holidays US
+       *
+       * @package calendar
+       */
 class holidaycalc {

        function calculate_date($holiday, &$holidays, $year, $datetime, &$i)

====================================================
Index: calendar/inc/class.socalendar_sql.inc.php
diff -u calendar/inc/class.socalendar_sql.inc.php:1.34 
calendar/inc/class.socalendar_sql.inc.php:1.35
--- calendar/inc/class.socalendar_sql.inc.php:1.34      Wed May  4 13:45:33 2005
+++ calendar/inc/class.socalendar_sql.inc.php   Wed May 11 12:56:07 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
+       /**
+       * Calendar - Calendar SQL storage
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

 if (@$GLOBALS['phpgw_info']['flags']['included_classes']['socalendar_'])
 {
@@ -21,6 +18,12 @@

 $GLOBALS['phpgw_info']['flags']['included_classes']['socalendar_'] = True;

+
+       /**
+       * Calendar SQL storage
+       *
+       * @package calendar
+       */
 class socalendar_ extends socalendar__
 {
        var $deleted_events = Array();

====================================================
Index: calendar/inc/class.uialarm.inc.php
diff -u calendar/inc/class.uialarm.inc.php:1.6 
calendar/inc/class.uialarm.inc.php:1.7
--- calendar/inc/class.uialarm.inc.php:1.6      Mon Apr 21 11:00:52 2003
+++ calendar/inc/class.uialarm.inc.php  Wed May 11 12:56:07 2005
@@ -1,19 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
-
+       /**
+       * Calendar - Alarm
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */
+
+
+       /**
+       * Alarm
+       *
+       * @package calendar
+       */
        class uialarm
        {
                var $template;

====================================================
Index: calendar/inc/class.uiicalendar.inc.php
diff -u calendar/inc/class.uiicalendar.inc.php:1.6 
calendar/inc/class.uiicalendar.inc.php:1.7
--- calendar/inc/class.uiicalendar.inc.php:1.6  Mon Apr 21 11:00:52 2003
+++ calendar/inc/class.uiicalendar.inc.php      Wed May 11 12:56:07 2005
@@ -1,19 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
-
+       /**
+       * Calendar
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */
+
+
+       /**
+       * Calendar
+       *
+       * @package calendar
+       */
        class uiicalendar
        {
                var $bo;

====================================================
Index: calendar/inc/class.calendar_holiday.inc.php
diff -u calendar/inc/class.calendar_holiday.inc.php:1.23 
calendar/inc/class.calendar_holiday.inc.php:1.24
--- calendar/inc/class.calendar_holiday.inc.php:1.23    Sun Jul  1 12:59:39 2001
+++ calendar/inc/class.calendar_holiday.inc.php Wed May 11 12:56:07 2005
@@ -1,17 +1,20 @@
 <?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$ */
-
+       /**
+       * Calendar - Holidays
+       *
+       * @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 calendar
+       * @version $Id$
+       */
+
+
+       /**
+       * Holidays
+       *
+       * @package calendar
+       */
 class calendar_holiday
 {
        var $db;

====================================================
Index: calendar/inc/class.socalendar_.inc.php
diff -u calendar/inc/class.socalendar_.inc.php:1.4 
calendar/inc/class.socalendar_.inc.php:1.5
--- calendar/inc/class.socalendar_.inc.php:1.4  Fri Sep  7 16:37:11 2001
+++ calendar/inc/class.socalendar_.inc.php      Wed May 11 12:56:07 2005
@@ -1,29 +1,34 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
+       /**
+       * Calendar - Alarm
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @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 calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

        if(@$GLOBALS['phpgw_info']['server']['calendar_type'] == 'mcal' &&
                extension_loaded('mcal') == False)
        {
                $GLOBALS['phpgw_info']['server']['calendar_type'] = 'sql';
        }
-/* This will be elminated when ical is fully implemented */
+    // This will be elminated when ical is fully implemented
        else
        {
                $GLOBALS['phpgw_info']['server']['calendar_type'] = 'sql';
        }
+
+       /**
+       * Include calendar class
+       */
        include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar__.inc.php');
+
+       /**
+       * Include calendar class depending on storage model
+       */
        
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar_'.$GLOBALS['phpgw_info']['server']['calendar_type'].'.inc.php');
 ?>

====================================================
Index: calendar/inc/class.holidaycalc_JP.inc.php
diff -u calendar/inc/class.holidaycalc_JP.inc.php:1.2 
calendar/inc/class.holidaycalc_JP.inc.php:1.3
--- calendar/inc/class.holidaycalc_JP.inc.php:1.2       Tue Apr 16 15:46:01 2002
+++ calendar/inc/class.holidaycalc_JP.inc.php   Wed May 11 12:56:07 2005
@@ -1,18 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - holidaycalc_JP                                            *
-  * http://www.phpgroupware.org                                              *
-  * Based on Yoshihiro Kamimura <address@hidden>                           *
-  *          http://www.itheart.com                                          *
-  * --------------------------------------------                             *
-  *  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$ */
-
+       /**
+       * Calendar - Holidays Japan
+       *
+       * @author Yoshihiro Kamimura <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on http://www.itheart.com/
+       */
+
+
+       /**
+       * Holidays Japan
+       *
+       * @package calendar
+       */
 class holidaycalc {

        function calculate_date($holiday, &$holidays, $year, $datetime, &$i)

====================================================
Index: calendar/inc/class.calendar_icap.inc.php
diff -u calendar/inc/class.calendar_icap.inc.php:1.15 
calendar/inc/class.calendar_icap.inc.php:1.16
--- calendar/inc/class.calendar_icap.inc.php:1.15       Mon Apr 18 07:48:27 2005
+++ calendar/inc/class.calendar_icap.inc.php    Wed May 11 12:56:07 2005
@@ -1,16 +1,13 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - ICal Calendar                                             *
-  * http://www.phpgroupware.org                                              *
-  * Created 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$ */
+       /**
+       * Calendar - ICal
+       *
+       * @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 calendar
+       * @version $Id$
+       */

 if (isset($phpgw_info['flags']['included_classes']['calendar_']) &&
     $phpgw_info['flags']['included_classes']['calendar_'] == True)
@@ -20,6 +17,12 @@

 $phpgw_info['flags']['included_classes']['calendar_'] = True;

+
+       /**
+       * ICal
+       *
+       * @package calendar
+       */
 class calendar_ extends calendar__
 {
        function open($calendar='',$user='',$passwd='',$options='')

====================================================
Index: calendar/inc/class.bocalendar.inc.php
diff -u calendar/inc/class.bocalendar.inc.php:1.90 
calendar/inc/class.bocalendar.inc.php:1.91
--- calendar/inc/class.bocalendar.inc.php:1.90  Wed May  4 13:45:33 2005
+++ calendar/inc/class.bocalendar.inc.php       Wed May 11 12:56:07 2005
@@ -1,19 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
-
+       /**
+       * Calendar
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */
+
+
+       /**
+       * Calendar
+       *
+       * @package calendar
+       */
        class bocalendar
        {
                var $public_functions = Array(

====================================================
Index: calendar/inc/class.socalendar.inc.php
diff -u calendar/inc/class.socalendar.inc.php:1.26 
calendar/inc/class.socalendar.inc.php:1.27
--- calendar/inc/class.socalendar.inc.php:1.26  Tue Sep 17 03:03:16 2002
+++ calendar/inc/class.socalendar.inc.php       Wed May 11 12:56:07 2005
@@ -1,19 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
-
+       /**
+       * Calendar - Calendar
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */
+
+
+       /**
+       * Calendar
+       *
+       * @package calendar
+       */
        class socalendar
        {
 //             var $debug = True;

====================================================
Index: calendar/inc/class.boicalendar.inc.php
diff -u calendar/inc/class.boicalendar.inc.php:1.21 
calendar/inc/class.boicalendar.inc.php:1.22
--- calendar/inc/class.boicalendar.inc.php:1.21 Wed May  4 07:29:36 2005
+++ calendar/inc/class.boicalendar.inc.php      Wed May 11 12:56:07 2005
@@ -1,17 +1,17 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - iCalendar Parser                                          *
-  * 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$ */
-
+       /**
+       * Calendar
+       *
+       * @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 calendar
+       * @version $Id$
+       */
+
+/**
+* Define fold length
+*/
 define('FOLD_LENGTH',75);

 define('VEVENT',1);
@@ -77,6 +77,11 @@

 define('OTHER',99);

+/**
+* Calendar
+*
+* @package calendar
+*/
 class boicalendar
 {


====================================================
Index: calendar/inc/class.uicalendar.inc.php
diff -u calendar/inc/class.uicalendar.inc.php:1.105 
calendar/inc/class.uicalendar.inc.php:1.106
--- calendar/inc/class.uicalendar.inc.php:1.105 Sat Sep  6 12:42:54 2003
+++ calendar/inc/class.uicalendar.inc.php       Wed May 11 12:56:07 2005
@@ -1,19 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
-
+       /**
+       * Calendar
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id: class.uicalendar.inc.php,v 1.105 2003/09/06 12:42:54 
skeeter Exp
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */
+
+
+       /**
+       * Calendar
+       *
+       * @package calendar
+       */
        class uicalendar
        {
                var $template;

====================================================
Index: calendar/inc/class.boholiday.inc.php
diff -u calendar/inc/class.boholiday.inc.php:1.11 
calendar/inc/class.boholiday.inc.php:1.12
--- calendar/inc/class.boholiday.inc.php:1.11   Thu Feb 27 19:28:25 2003
+++ calendar/inc/class.boholiday.inc.php        Wed May 11 12:56:07 2005
@@ -1,17 +1,20 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Holiday                                                   *
-  * 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$ */
-
+       /**
+       * Calendar - Holidays
+       *
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2001-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       */
+
+
+       /**
+       * Holidays
+       *
+       * @package calendar
+       */
        class boholiday
        {
                var $public_functions = Array(

====================================================
Index: calendar/inc/class.html.inc.php
diff -u calendar/inc/class.html.inc.php:1.2 calendar/inc/class.html.inc.php:1.3
--- calendar/inc/class.html.inc.php:1.2 Sun Aug 25 04:07:21 2002
+++ calendar/inc/class.html.inc.php     Wed May 11 12:56:07 2005
@@ -1,18 +1,21 @@
 <?php
-       
/**************************************************************************\
-       * phpGroupWare - InfoLog                                                
   *
-       * http://www.phpgroupware.org                                           
   *
-       * Written by Ralf Becker <address@hidden>                  *
-       * originaly based on todo 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$ */
-
+       /**
+       * Calendar - HTML
+       *
+       * @author Ralf Becker <address@hidden>
+       * @author Joseph Engo <address@hidden>
+       * @copyright Copyright (C) 2000-2002,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       */
+
+
+       /**
+       * HTML
+       *
+       * @package calendar
+       */
 class html
 {
        function html()

====================================================
Index: calendar/inc/class.uiholiday.inc.php
diff -u calendar/inc/class.uiholiday.inc.php:1.6 
calendar/inc/class.uiholiday.inc.php:1.7
--- calendar/inc/class.uiholiday.inc.php:1.6    Mon Apr 21 11:00:52 2003
+++ calendar/inc/class.uiholiday.inc.php        Wed May 11 12:56:07 2005
@@ -1,19 +1,22 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
-
+       /**
+       * Calendar - Holidays
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002-2003,2005 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */
+
+
+       /**
+       * Holidays
+       *
+       * @package calendar
+       */
        class uiholiday
        {
                var $debug = False;

====================================================
Index: calendar/inc/class.socalendar__.inc.php
diff -u calendar/inc/class.socalendar__.inc.php:1.12 
calendar/inc/class.socalendar__.inc.php:1.13
--- calendar/inc/class.socalendar__.inc.php:1.12        Mon Jun 24 23:24:24 2002
+++ calendar/inc/class.socalendar__.inc.php     Wed May 11 12:56:07 2005
@@ -1,18 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - Calendar                                                  *
-  * http://www.phpgroupware.org                                              *
-  * Based on Webcalendar by Craig Knudsen <address@hidden>               *
-  *          http://www.radix.net/~cknudsen                                  *
-  * Modified 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$ */
+       /**
+       * Calendar - Alarm
+       *
+       * @author Craig Knudsen <address@hidden>
+       * @author Mark Peters <address@hidden>
+       * @copyright Copyright (C) 2002,2005 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+       * @package calendar
+       * @version $Id$
+       * @internal Based on Webcalendar http://www.radix.net/~cknudsen/
+       */

 if (@$GLOBALS['phpgw_info']['flags']['included_classes']['socalendar__'])
 {
@@ -21,10 +18,13 @@

 $GLOBALS['phpgw_info']['flags']['included_classes']['socalendar__'] = True;

-/*     include(PHPGW_SERVER_ROOT.'/calendar/setup/setup.inc.php');     */
+//     include(PHPGW_SERVER_ROOT.'/calendar/setup/setup.inc.php');

 if(extension_loaded('mcal') == False)
 {
+       /**
+       * Define Recurence none
+       */
        define('MCAL_RECUR_NONE',0);
        define('MCAL_RECUR_DAILY',1);
        define('MCAL_RECUR_WEEKLY',2);
@@ -57,6 +57,12 @@
 define('TENTATIVE',2);
 define('ACCEPTED',3);

+
+       /**
+       * Calendar
+       *
+       * @package calendar
+       */
 class socalendar__
 {
        var $event;

====================================================
Index: calendar/inc/class.holidaycalc.inc.php
diff -u calendar/inc/class.holidaycalc.inc.php:1.5 
calendar/inc/class.holidaycalc.inc.php:1.6
--- calendar/inc/class.holidaycalc.inc.php:1.5  Sun Aug 26 12:32:28 2001
+++ calendar/inc/class.holidaycalc.inc.php      Wed May 11 12:56:07 2005
@@ -1,17 +1,15 @@
 <?php
-  /**************************************************************************\
-  * phpGroupWare - holidaycalc                                               *
-  * http://www.phpgroupware.org                                              *
-  * Based on Yoshihiro Kamimura <address@hidden>                           *
-  *          http://www.itheart.com                                          *
-  * --------------------------------------------                             *
-  *  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$ */
+       /**
+       * Calendar - Holidays
+       *
+       * @author Yoshihiro Kamimura <address@hidden>
+       * @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 calendar
+       * @version $Id$
+       * @internal Based on http://www.itheart.com/
+       */

        if 
(empty($GLOBALS['phpgw_info']['user']['preferences']['common']['country']))
        {
@@ -25,10 +23,17 @@
        $calc_include = 
PHPGW_INCLUDE_ROOT.'/calendar/inc/class.holidaycalc_'.$rule.'.inc.php';
        if(@file_exists($calc_include))
        {
+
+               /**
+               * Include country specific holidays calculation
+               */
                include($calc_include);
        }
        else
        {
+               /**
+               * Include US specific holidays calculation
+               */
                
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.holidaycalc_US.inc.php');
        }
 ?>






reply via email to

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