1 | <?php |
||
20 | class ReferenceBacklinksLookup { |
||
21 | |||
22 | /** |
||
23 | * @var Store |
||
24 | */ |
||
25 | private $store; |
||
26 | |||
27 | /** |
||
28 | * @var integer |
||
29 | */ |
||
30 | private $limit = 20; |
||
31 | |||
32 | /** |
||
33 | * @var integer |
||
34 | */ |
||
35 | private $offset = 0; |
||
36 | |||
37 | /** |
||
38 | * @since 1.0 |
||
39 | * |
||
40 | * @param Store $store |
||
41 | */ |
||
42 | 19 | public function __construct( Store $store ) { |
|
45 | |||
46 | /** |
||
47 | * @since 1.0 |
||
48 | * |
||
49 | * @param Store $store |
||
50 | */ |
||
51 | 15 | public function setStore( Store $store ) { |
|
54 | |||
55 | /** |
||
56 | * @since 1.0 |
||
57 | * |
||
58 | * @param mixed|null $requestOptions |
||
59 | */ |
||
60 | 1 | public function setRequestOptions( $requestOptions = null ) { |
|
69 | |||
70 | /** |
||
71 | * @since 1.0 |
||
72 | * |
||
73 | * @param DIProperty $property |
||
74 | * @param DIWikiPage $subject |
||
75 | * @param string &$html |
||
76 | */ |
||
77 | 1 | public function getSpecialPropertySearchFurtherLink( DIProperty $property, DIWikiPage $subject, &$html ) { |
|
96 | |||
97 | /** |
||
98 | * Adds backlinks information to the SemanticData which is targeted towards |
||
99 | * the Special:Browse inproperties |
||
100 | * |
||
101 | * @since 1.0 |
||
102 | * |
||
103 | * @param SemanticData $semanticData |
||
104 | */ |
||
105 | 2 | public function addReferenceBacklinksTo( SemanticData $semanticData ) { |
|
117 | |||
118 | /** |
||
119 | * @since 1.0 |
||
120 | * |
||
121 | * @param DIWikiPage $subject |
||
122 | * |
||
123 | * @return DIBlob|null |
||
124 | */ |
||
125 | 4 | public function tryToFindCitationKeyFor( DIWikiPage $subject ) { |
|
138 | |||
139 | /** |
||
140 | * @since 1.0 |
||
141 | * |
||
142 | * @param DIBlob|null |
||
143 | * |
||
144 | * @return DIWikiPage[] |
||
145 | */ |
||
146 | 2 | public function findReferenceBacklinksFor( $key = null ) { |
|
174 | |||
175 | } |
||
176 |