summaryrefslogtreecommitdiff
blob: 2565417464e4ba4a06618f6e3c636f3e860e0034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php

class SMWDataItem {
	const TYPE_STRING = 0;
	const TYPE_BLOB = 0;
	const TYPE_WIKIPAGE = 0;

	/**
	 * @var int
	 */
	private $type = 0;

	/**
	 * @var Title
	 */
	private $title = null;

	/**
	 * @return int
	 */
	public function getDIType() : int {
		return $this->type;
	}

	/**
	 * @return string
	 */
	public function getString() : string {
		return '';
	}

	/**
	 * @return Title
	 */
	public function getTitle() : Title {
		return $this->title;
	}
}