summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/Exporter/ResourceBuilder.php
blob: 5ab06fec31cdc37a2b0518b5ab2810945d34b634 (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
<?php

namespace SMW\Exporter;

use SMW\DIProperty;
use SMWDataItem as DataItem;
use SMWExpData as ExpData;

/**
 * @private
 *
 * @license GNU GPL v2+
 * @since 2.5
 *
 * @author mwjames
 */
interface ResourceBuilder {

	/**
	 * @since 2.5
	 *
	 * @param DIProperty $property
	 *
	 * @return boolean
	 */
	public function isResourceBuilderFor( DIProperty $property );

	/**
	 * @since 2.5
	 *
	 * @param ExpData $expData
	 * @param DIProperty $property
	 * @param DataItem $dataItem
	 */
	public function addResourceValue( ExpData $expData, DIProperty $property, DataItem $dataItem );

}