]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/LRDD/extlib/XML/XRD/Element/Property.php
Implemented WebFinger and replaced our XRD with PEAR XML_XRD
[quix0rs-gnu-social.git] / plugins / LRDD / extlib / XML / XRD / Element / Property.php
1 <?php
2 /**
3  * Part of XML_XRD
4  *
5  * PHP version 5
6  *
7  * @category XML
8  * @package  XML_XRD
9  * @author   Christian Weiske <cweiske@php.net>
10  * @license  http://www.gnu.org/copyleft/lesser.html LGPL
11  * @link     http://pear.php.net/package/XML_XRD
12  */
13
14 /**
15  * Property element in a XRD document.
16  *
17  * The <XRD> root element as well as <Link> tags may have <Property> children.
18  *
19  * @category XML
20  * @package  XML_XRD
21  * @author   Christian Weiske <cweiske@php.net>
22  * @license  http://www.gnu.org/copyleft/lesser.html LGPL
23  * @version  Release: @package_version@
24  * @link     http://pear.php.net/package/XML_XRD
25  */
26 class XML_XRD_Element_Property
27 {
28     /**
29      * Value of the property.
30      *
31      * @var string|null
32      */
33     public $value;
34
35     /**
36      * Type of the propery.
37      *
38      * @var string
39      */
40     public $type;
41
42     /**
43      * Create a new instance
44      *
45      * @param string $type  String representing the property type
46      * @param string $value Value of the property, may be NULL
47      */
48     public function __construct($type = null, $value = null)
49     {
50         $this->type  = $type;
51         $this->value = $value;
52     }
53 }
54
55 ?>