blob: 58e1fc12daac0d6eae991b50b9659f36f9360d6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
namespace SMW\Tests\Utils\Fixtures\Properties;
use SMW\DIProperty;
/**
* @license GNU GPL v2+
* @since 2.1
*
* @author mwjames
*/
class UrlProperty extends FixtureProperty {
/**
* @since 2.1
*/
public function __construct() {
$this->property = DIProperty::newFromUserLabel( 'Url' );
$this->property->setPropertyTypeId( '_uri' );
}
}
|