1<?php
2
3namespace Sabre\VObject\Property;
4
5/**
6 * Unknown property.
7 *
8 * This object represents any properties not recognized by the parser.
9 * This type of value has been introduced by the jCal, jCard specs.
10 *
11 * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
12 * @author Evert Pot (http://evertpot.com/)
13 * @license http://sabre.io/license/ Modified BSD License
14 */
15class Unknown extends Text {
16
17    /**
18     * Returns the value, in the format it should be encoded for json.
19     *
20     * This method must always return an array.
21     *
22     * @return array
23     */
24    function getJsonValue() {
25
26        return [$this->getRawMimeDirValue()];
27
28    }
29
30    /**
31     * Returns the type of value.
32     *
33     * This corresponds to the VALUE= parameter. Every property also has a
34     * 'default' valueType.
35     *
36     * @return string
37     */
38    function getValueType() {
39
40        return 'UNKNOWN';
41
42    }
43
44}
45