PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 1.2.20
Booking for Appointments and Events Calendar – Amelia v1.2.20
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / vendor / sabre / vobject / lib / Property / FlatText.php
ameliabooking / vendor / sabre / vobject / lib / Property Last commit date
ICalendar 1 year ago VCard 1 year ago Binary.php 1 year ago Boolean.php 1 year ago FlatText.php 1 year ago FloatValue.php 1 year ago IntegerValue.php 1 year ago Text.php 1 year ago Time.php 1 year ago Unknown.php 1 year ago Uri.php 1 year ago UtcOffset.php 1 year ago
FlatText.php
47 lines
1 <?php
2
3 namespace Sabre\VObject\Property;
4
5 /**
6 * FlatText property.
7 *
8 * This object represents certain TEXT values.
9 *
10 * Specifically, this property is used for text values where there is only 1
11 * part. Semi-colons and colons will be de-escaped when deserializing, but if
12 * any semi-colons or commas appear without a backslash, we will not assume
13 * that they are delimiters.
14 *
15 * vCard 2.1 specifically has a whole bunch of properties where this may
16 * happen, as it only defines a delimiter for a few properties.
17 *
18 * vCard 4.0 states something similar. An unescaped semi-colon _may_ be a
19 * delimiter, depending on the property.
20 *
21 * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
22 * @author Evert Pot (http://evertpot.com/)
23 * @license http://sabre.io/license/ Modified BSD License
24 */
25 class FlatText extends Text
26 {
27 /**
28 * Field separator.
29 *
30 * @var string
31 */
32 public $delimiter = ',';
33
34 /**
35 * Sets the value as a quoted-printable encoded string.
36 *
37 * Overriding this so we're not splitting on a ; delimiter.
38 *
39 * @param string $val
40 */
41 public function setQuotedPrintableValue($val)
42 {
43 $val = quoted_printable_decode($val);
44 $this->setValue($val);
45 }
46 }
47