blob: b5afd2bb5f67e93db591e1f4b5f40f9e8b558b5b (
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 YearProperty extends FixtureProperty {
/**
* @since 2.1
*/
public function __construct() {
$this->property = new DIProperty( 'Year' );
$this->property->setPropertyTypeId( '_dat' );
}
}
|