diff options
author | Mario <mario@mariovavti.com> | 2024-09-30 07:12:30 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-09-30 07:12:30 +0000 |
commit | becd4c6ffd3138731e528acdf6842fe53f381f6a (patch) | |
tree | c4c9390bc6cf0c8f683aa96883d73140d3369378 /vendor/sabre/vobject/lib/Property.php | |
parent | 3f411787c1436e2259efb184c0f84b13f4244fb0 (diff) | |
download | volse-hubzilla-becd4c6ffd3138731e528acdf6842fe53f381f6a.tar.gz volse-hubzilla-becd4c6ffd3138731e528acdf6842fe53f381f6a.tar.bz2 volse-hubzilla-becd4c6ffd3138731e528acdf6842fe53f381f6a.zip |
update sabre/vobject
Diffstat (limited to 'vendor/sabre/vobject/lib/Property.php')
-rw-r--r-- | vendor/sabre/vobject/lib/Property.php | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/vendor/sabre/vobject/lib/Property.php b/vendor/sabre/vobject/lib/Property.php index f6550246a..0805c139a 100644 --- a/vendor/sabre/vobject/lib/Property.php +++ b/vendor/sabre/vobject/lib/Property.php @@ -57,6 +57,20 @@ abstract class Property extends Node public $delimiter = ';'; /** + * The line number in the original iCalendar / vCard file + * that corresponds with the current node + * if the node was read from a file. + */ + public $lineIndex; + + /** + * The line string from the original iCalendar / vCard file + * that corresponds with the current node + * if the node was read from a file. + */ + public $lineString; + + /** * Creates the generic property. * * Parameters must be specified in key=>value syntax. @@ -67,7 +81,7 @@ abstract class Property extends Node * @param array $parameters List of parameters * @param string $group The vcard property group */ - public function __construct(Component $root, $name, $value = null, array $parameters = [], $group = null) + public function __construct(Component $root, $name, $value = null, array $parameters = [], $group = null, int $lineIndex = null, string $lineString = null) { $this->name = $name; $this->group = $group; @@ -81,6 +95,14 @@ abstract class Property extends Node if (!is_null($value)) { $this->setValue($value); } + + if (!is_null($lineIndex)) { + $this->lineIndex = $lineIndex; + } + + if (!is_null($lineString)) { + $this->lineString = $lineString; + } } /** |