Semantic MediaWiki and related extensions
hook
Since: 3.0
Description: Hook allows to add additional RDF data for a selected subject (
smwAddToRDFExport
was deprecated with 3.0)
Reference class:
SMWExportController
Signature
use Hooks;
use
SMW\DIWikiPage
;
Hooks::register(
'SMW::Exporter::Controller::AddExpData'
,
function
(
DIWikiPage
$subject, &$expDataList, $hasRecursionDepth, $withBacklinks ) {
// $expData = new ExpData( ... );
// $expDataList[] = $expData;
return
true
;
} );
About
|
General disclaimer
|
Privacy policy
Generated on Sun Apr 28 2024 03:09:11 for Semantic MediaWiki and related extensions by
1.8.13