diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Fixtures/Properties/UrlProperty.php')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Fixtures/Properties/UrlProperty.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Fixtures/Properties/UrlProperty.php b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Fixtures/Properties/UrlProperty.php new file mode 100644 index 00000000..58e1fc12 --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Fixtures/Properties/UrlProperty.php @@ -0,0 +1,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' ); + } + +} |