1<?php
2
3namespace Sabre\VObject\Property\VCard;
4
5use
6    Sabre\VObject\Property;
7
8/**
9 * LanguageTag property
10 *
11 * This object represents LANGUAGE-TAG values as used in vCards.
12 *
13 * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
14 * @author Evert Pot (http://evertpot.com/)
15 * @license http://sabre.io/license/ Modified BSD License
16 */
17class LanguageTag extends Property {
18
19    /**
20     * Sets a raw value coming from a mimedir (iCalendar/vCard) file.
21     *
22     * This has been 'unfolded', so only 1 line will be passed. Unescaping is
23     * not yet done, but parameters are not included.
24     *
25     * @param string $val
26     * @return void
27     */
28    public function setRawMimeDirValue($val) {
29
30        $this->setValue($val);
31
32    }
33
34    /**
35     * Returns a raw mime-dir representation of the value.
36     *
37     * @return string
38     */
39    public function getRawMimeDirValue() {
40
41        return $this->getValue();
42
43    }
44
45    /**
46     * Returns the type of value.
47     *
48     * This corresponds to the VALUE= parameter. Every property also has a
49     * 'default' valueType.
50     *
51     * @return string
52     */
53    public function getValueType() {
54
55        return "LANGUAGE-TAG";
56
57    }
58
59}
60