aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bennu
diff options
context:
space:
mode:
authorJack Bates <jablko@users.sourceforge.net>2006-04-13 21:14:17 +0000
committerJack Bates <jablko@users.sourceforge.net>2006-04-13 21:14:17 +0000
commit36d31ea75fccffa3aa71a24ac5a1614f56b64e30 (patch)
tree5ac614a8a2610802ea657ff71fd33aa9eccdf4f0 /lib/bennu
parent428ef55248c513015bc3233cf62c0e9db0dfbb3a (diff)
downloadphpicalendar-36d31ea75fccffa3aa71a24ac5a1614f56b64e30.tar.gz
phpicalendar-36d31ea75fccffa3aa71a24ac5a1614f56b64e30.tar.bz2
phpicalendar-36d31ea75fccffa3aa71a24ac5a1614f56b64e30.zip
* Half way through filter support for calendar-query REPORTs
* About to normalize report_response_helper with propfind_response_helper
Diffstat (limited to 'lib/bennu')
-rw-r--r--lib/bennu/iCalendar_components.php19
1 files changed, 3 insertions, 16 deletions
diff --git a/lib/bennu/iCalendar_components.php b/lib/bennu/iCalendar_components.php
index 13934cb..13abac5 100644
--- a/lib/bennu/iCalendar_components.php
+++ b/lib/bennu/iCalendar_components.php
@@ -1,4 +1,4 @@
-<?php // $Id: iCalendar_components.php,v 1.1 2006/04/13 05:10:24 jablko Exp $
+<?php // $Id: iCalendar_components.php,v 1.2 2006/04/13 21:14:17 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.1 2006/04/13 05:10:24 jablko Exp $
+ * @version $Id: iCalendar_components.php,v 1.2 2006/04/13 21:14:17 jablko Exp $
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
*/
@@ -179,19 +179,6 @@ class iCalendar_component {
}
function serialize() {
- // Check for validity of the object
- if(!$this->is_valid()) {
- return false;
- }
-
- // Maybe the object is valid, but there are some required properties that
- // have not been given explicit values. In that case, set them to defaults.
- foreach($this->valid_properties as $property => $propdata) {
- if(($propdata & RFC2445_REQUIRED) && empty($this->properties[$property])) {
- $this->add_property($property);
- }
- }
-
// Start tag
$string = rfc2445_fold('BEGIN:'.$this->name) . RFC2445_CRLF;
@@ -407,4 +394,4 @@ class iCalendar_timezone extends iCalendar_component {
// REMINDER: DTEND must be later than DTSTART for all components which support both
// REMINDER: DUE must be later than DTSTART for all components which support both
-?> \ No newline at end of file
+?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy