summaryrefslogtreecommitdiffstats
path: root/3rdparty/Sabre/VObject/Node.php
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/Sabre/VObject/Node.php')
-rwxr-xr-x[-rw-r--r--]3rdparty/Sabre/VObject/Node.php62
1 files changed, 31 insertions, 31 deletions
diff --git a/3rdparty/Sabre/VObject/Node.php b/3rdparty/Sabre/VObject/Node.php
index 7100b62f1cb..d89e01b56c6 100644..100755
--- a/3rdparty/Sabre/VObject/Node.php
+++ b/3rdparty/Sabre/VObject/Node.php
@@ -1,47 +1,47 @@
<?php
/**
- * Base class for all nodes
- *
+ * Base class for all nodes
+ *
* @package Sabre
* @subpackage VObject
- * @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved.
- * @author Evert Pot (http://www.rooftopsolutions.nl/)
+ * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
+ * @author Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
*/
abstract class Sabre_VObject_Node implements IteratorAggregate, ArrayAccess, Countable {
/**
- * Turns the object back into a serialized blob.
- *
- * @return string
+ * Turns the object back into a serialized blob.
+ *
+ * @return string
*/
abstract function serialize();
/**
- * Iterator override
- *
- * @var Sabre_VObject_ElementList
+ * Iterator override
+ *
+ * @var Sabre_VObject_ElementList
*/
protected $iterator = null;
/**
* A link to the parent node
- *
- * @var Sabre_VObject_Node
+ *
+ * @var Sabre_VObject_Node
*/
- protected $parent = null;
+ public $parent = null;
/* {{{ IteratorAggregator interface */
/**
- * Returns the iterator for this object
- *
- * @return Sabre_VObject_ElementList
+ * Returns the iterator for this object
+ *
+ * @return Sabre_VObject_ElementList
*/
public function getIterator() {
- if (!is_null($this->iterator))
+ if (!is_null($this->iterator))
return $this->iterator;
return new Sabre_VObject_ElementList(array($this));
@@ -52,8 +52,8 @@ abstract class Sabre_VObject_Node implements IteratorAggregate, ArrayAccess, Cou
* Sets the overridden iterator
*
* Note that this is not actually part of the iterator interface
- *
- * @param Sabre_VObject_ElementList $iterator
+ *
+ * @param Sabre_VObject_ElementList $iterator
* @return void
*/
public function setIterator(Sabre_VObject_ElementList $iterator) {
@@ -67,9 +67,9 @@ abstract class Sabre_VObject_Node implements IteratorAggregate, ArrayAccess, Cou
/* {{{ Countable interface */
/**
- * Returns the number of elements
- *
- * @return int
+ * Returns the number of elements
+ *
+ * @return int
*/
public function count() {
@@ -82,14 +82,14 @@ abstract class Sabre_VObject_Node implements IteratorAggregate, ArrayAccess, Cou
/* {{{ ArrayAccess Interface */
-
+
/**
* Checks if an item exists through ArrayAccess.
*
* This method just forwards the request to the inner iterator
- *
- * @param int $offset
- * @return bool
+ *
+ * @param int $offset
+ * @return bool
*/
public function offsetExists($offset) {
@@ -103,8 +103,8 @@ abstract class Sabre_VObject_Node implements IteratorAggregate, ArrayAccess, Cou
*
* This method just forwards the request to the inner iterator
*
- * @param int $offset
- * @return mixed
+ * @param int $offset
+ * @return mixed
*/
public function offsetGet($offset) {
@@ -118,8 +118,8 @@ abstract class Sabre_VObject_Node implements IteratorAggregate, ArrayAccess, Cou
*
* This method just forwards the request to the inner iterator
*
- * @param int $offset
- * @param mixed $value
+ * @param int $offset
+ * @param mixed $value
* @return void
*/
public function offsetSet($offset,$value) {
@@ -134,7 +134,7 @@ abstract class Sabre_VObject_Node implements IteratorAggregate, ArrayAccess, Cou
*
* This method just forwards the request to the inner iterator
*
- * @param int $offset
+ * @param int $offset
* @return void
*/
public function offsetUnset($offset) {