[Pkg-owncloud-commits] [php-sabre-vobject] 64/341: !xml <period> and children.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit 3e717b96e0ad55156161ddc6d2a398e2eaaafc77
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Tue Nov 18 14:01:05 2014 +0100
!xml <period> and children.
---
lib/Property/ICalendar/Period.php | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/lib/Property/ICalendar/Period.php b/lib/Property/ICalendar/Period.php
index 1f42890..6174257 100644
--- a/lib/Property/ICalendar/Period.php
+++ b/lib/Property/ICalendar/Period.php
@@ -125,4 +125,18 @@ class Period extends Property {
}
+ /**
+ * Sets the XML value, as it would appear in a xCard or xCal object.
+ *
+ * The value must always be an array.
+ *
+ * @param array $value
+ * @return void
+ */
+ function setXmlValue(array $value) {
+
+ parent::setJsonValue($value[0]);
+
+ }
+
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list