[Pkg-owncloud-commits] [php-sabre-vobject] 74/341: !xml Complete API documentation.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:35 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 95c516309b442037978b59ab9425f528ebab6466
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Mon Nov 24 11:27:30 2014 +0100
!xml Complete API documentation.
---
lib/Parser/XML.php | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/lib/Parser/XML.php b/lib/Parser/XML.php
index a797bb0..60e917d 100644
--- a/lib/Parser/XML.php
+++ b/lib/Parser/XML.php
@@ -45,8 +45,10 @@ class XML extends Parser {
protected $root;
/**
+ * Parse xCal or xCard.
*
* @param resource|string $input
+ * @param int|null $options
*/
public function parse ( $input = null, $options = null ) {
@@ -68,6 +70,12 @@ class XML extends Parser {
return $this->root;
}
+ /**
+ * Parse a vCalendar.
+ *
+ * @param Sabre\VObject\Component $parentComponent
+ * @param int|null $options
+ */
protected function parseVcalendarComponents ( $parentComponent, $options = null ) {
foreach($this->pointer['value'] as $children) {
@@ -204,6 +212,12 @@ class XML extends Parser {
return;
}
+ /**
+ * Get tag name from a Clark notation.
+ *
+ * @param string $clarkedTagName
+ * @return string
+ */
static protected function getTagName ( $clarkedTagName ) {
list($namespace, $tagName) = SabreXML\Util::parseClarkNotation($clarkedTagName);
--
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