Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 427 Bytes
  • Since: 3.1
  • Description: Hook to extend the SemanticData object before the update is completed. (SMWSQLStore3::updateDataBefore was deprecated with 3.1)
  • Reference class: SMWSQLStore3Writers

Signature

use Hooks;
use SMW\SQLStore\SQLStore;
use SMW\SemanticData;

Hooks::register( 'SMW::SQLStore::BeforeDataUpdateComplete', function( SQLStore $store, SemanticData $semanticData ) {

	return true;
} );
You can’t perform that action at this time.