Jump to content

Manual:Hooks/DatabaseOraclePostInit

From mediawiki.org
DatabaseOraclePostInit
Available from version 1.16.0 (r51500, codereview)
Removed in version 1.34.0 (Gerrit change 502663)
Called after initializing an Oracle database
Define function:
public static function onDatabaseOraclePostInit( DatabaseOracle $db ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"DatabaseOraclePostInit": "MediaWiki\\Extension\\MyExtension\\Hooks::onDatabaseOraclePostInit"
	}
}
Called from: File(s): db/DatabaseOracle.php
Interface: DatabaseOraclePostInitHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:DatabaseOraclePostInit extensions.


Details

[edit]
  • $db: The DatabaseOracle object