< Manual:Hooks 
 
      | SpecialLogAddLogSearchRelations | |
|---|---|
| Available from version 1.24.0 (Gerrit change 169540) Add log relations to the current log | |
| Define function: | public static function onSpecialLogAddLogSearchRelations( string $type, WebRequest $request, array &$queryConds ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"SpecialLogAddLogSearchRelations": "MyExtensionHooks::onSpecialLogAddLogSearchRelations"
	}
}
 | 
| Called from: | File(s): specials/SpecialLog.php Function(s): execute | 
| Interface: | SpecialLogAddLogSearchRelationsHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialLogAddLogSearchRelations extensions.
Details
- $type: String of the log type
- $request: WebRequest object for getting the value provided by the current user
- &$queryConds: Array for query conditions to add
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.