diff options
author | Jack Bates <jablko@users.sourceforge.net> | 2006-04-23 20:09:50 +0000 |
---|---|---|
committer | Jack Bates <jablko@users.sourceforge.net> | 2006-04-23 20:09:50 +0000 |
commit | af1a7d974b0f8616faca9073a734de51fbd5ea04 (patch) | |
tree | 0f9d5d05395ccea8bec6f6091a6a25ae0bc1310f /lib/bennu | |
parent | 6997e17242bbb5a6d41de5cbf94cdfb2e739cbd3 (diff) | |
download | phpicalendar-af1a7d974b0f8616faca9073a734de51fbd5ea04.tar.gz phpicalendar-af1a7d974b0f8616faca9073a734de51fbd5ea04.tar.bz2 phpicalendar-af1a7d974b0f8616faca9073a734de51fbd5ea04.zip |
* Fixed "value" syntax problem
* Fixed start offset problem
* Some code tidying
Diffstat (limited to 'lib/bennu')
-rw-r--r-- | lib/bennu/iCalendar_components.php | 8 | ||||
-rw-r--r-- | lib/bennu/iCalendar_parameters.php | 5 | ||||
-rw-r--r-- | lib/bennu/iCalendar_properties.php | 13 |
3 files changed, 6 insertions, 20 deletions
diff --git a/lib/bennu/iCalendar_components.php b/lib/bennu/iCalendar_components.php index 13abac5..4b51f58 100644 --- a/lib/bennu/iCalendar_components.php +++ b/lib/bennu/iCalendar_components.php @@ -1,4 +1,4 @@ -<?php // $Id: iCalendar_components.php,v 1.2 2006/04/13 21:14:17 jablko Exp $ +<?php // $Id: iCalendar_components.php,v 1.3 2006/04/23 20:09:50 jablko Exp $ /** * BENNU - PHP iCalendar library @@ -9,7 +9,7 @@ * See http://bennu.sourceforge.net/ for more information and downloads. * * @author Ioannis Papaioannou - * @version $Id: iCalendar_components.php,v 1.2 2006/04/13 21:14:17 jablko Exp $ + * @version $Id: iCalendar_components.php,v 1.3 2006/04/23 20:09:50 jablko Exp $ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ @@ -205,7 +205,6 @@ class iCalendar_component { return $string; } - } class iCalendar extends iCalendar_component { @@ -227,7 +226,6 @@ class iCalendar extends iCalendar_component { ); parent::construct(); } - } class iCalendar_event extends iCalendar_component { @@ -306,7 +304,6 @@ class iCalendar_event extends iCalendar_component { } return true; } - } class iCalendar_todo extends iCalendar_component { @@ -388,7 +385,6 @@ class iCalendar_timezone extends iCalendar_component { parent::construct(); } - } // REMINDER: DTEND must be later than DTSTART for all components which support both diff --git a/lib/bennu/iCalendar_parameters.php b/lib/bennu/iCalendar_parameters.php index ab96654..70d528c 100644 --- a/lib/bennu/iCalendar_parameters.php +++ b/lib/bennu/iCalendar_parameters.php @@ -1,4 +1,4 @@ -<?php // $Id: iCalendar_parameters.php,v 1.1 2006/04/13 05:10:24 jablko Exp $ +<?php // $Id: iCalendar_parameters.php,v 1.2 2006/04/23 20:09:50 jablko Exp $ /** * BENNU - PHP iCalendar library @@ -9,7 +9,7 @@ * See http://bennu.sourceforge.net/ for more information and downloads. * * @author Ioannis Papaioannou - * @version $Id: iCalendar_parameters.php,v 1.1 2006/04/13 05:10:24 jablko Exp $ + * @version $Id: iCalendar_parameters.php,v 1.2 2006/04/23 20:09:50 jablko Exp $ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ @@ -234,7 +234,6 @@ class iCalendar_parameter { function undo_value_formatting($parameter, $value) { } - } ?> diff --git a/lib/bennu/iCalendar_properties.php b/lib/bennu/iCalendar_properties.php index bec729e..d19cbf7 100644 --- a/lib/bennu/iCalendar_properties.php +++ b/lib/bennu/iCalendar_properties.php @@ -1,4 +1,4 @@ -<?php // $Id: iCalendar_properties.php,v 1.1 2006/04/13 05:10:24 jablko Exp $ +<?php // $Id: iCalendar_properties.php,v 1.2 2006/04/23 20:09:50 jablko Exp $ /** * BENNU - PHP iCalendar library @@ -9,7 +9,7 @@ * See http://bennu.sourceforge.net/ for more information and downloads. * * @author Ioannis Papaioannou - * @version $Id: iCalendar_properties.php,v 1.1 2006/04/13 05:10:24 jablko Exp $ + * @version $Id: iCalendar_properties.php,v 1.2 2006/04/23 20:09:50 jablko Exp $ * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ @@ -282,7 +282,6 @@ class iCalendar_property_version extends iCalendar_property { function is_valid_value($value) { return($value === '2.0' || $value === 2.0); } - } // 4.8.1 Descriptive Component Properties @@ -430,7 +429,6 @@ class iCalendar_property_geo extends iCalendar_property { return false; } - } class iCalendar_property_location extends iCalendar_property { @@ -466,7 +464,6 @@ class iCalendar_property_percent_complete extends iCalendar_property { $value = intval($value); return ($value >= 0 && $value <= 100); } - } class iCalendar_property_priority extends iCalendar_property { @@ -533,7 +530,6 @@ class iCalendar_property_status extends iCalendar_property { return in_array($value, $allowed); } - } class iCalendar_property_summary extends iCalendar_property { @@ -818,7 +814,6 @@ class iCalendar_property_attendee extends iCalendar_property { return false; } - } class iCalendar_property_contact extends iCalendar_property { @@ -902,7 +897,6 @@ class iCalendar_property_recurrence_id extends iCalendar_property { return true; } - } class iCalendar_property_related_to extends iCalendar_property { @@ -979,7 +973,6 @@ class iCalendar_property_exdate extends iCalendar_property { return true; } - } class iCalendar_property_exrule extends iCalendar_property { @@ -1021,7 +1014,6 @@ class iCalendar_property_rdate extends iCalendar_property { return true; } - } class iCalendar_property_rrule extends iCalendar_property { @@ -1277,7 +1269,6 @@ class iCalendar_property_request_status extends iCalendar_property { return false; } - } |