* @license http://www.gnu.org/copyleft/lesser.html LGPL * @link http://pear.php.net/package/XML_XRD */ /** * Property element in a XRD document. * * The root element as well as tags may have children. * * @category XML * @package XML_XRD * @author Christian Weiske * @license http://www.gnu.org/copyleft/lesser.html LGPL * @version Release: @package_version@ * @link http://pear.php.net/package/XML_XRD */ class XML_XRD_Element_Property { /** * Value of the property. * * @var string|null */ public $value; /** * Type of the propery. * * @var string */ public $type; /** * Create a new instance * * @param string $type String representing the property type * @param string $value Value of the property, may be NULL */ public function __construct($type = null, $value = null) { $this->type = $type; $this->value = $value; } } ?>