| UserArrayFromResult | |
|---|---|
| Available fromversion 1.13.0 called when creating an UserArray object from a database result. | |
| Define function: | publicstaticfunctiononUserArrayFromResult(&$userArray,$res){...} |
| Attach hook: | Inextension.json:{"Hooks":{"UserArrayFromResult":"MediaWiki\\Extension\\MyExtension\\Hooks::onUserArrayFromResult"}} |
| Called from: | File(s):UserArray.php |
| Interface: | UserArrayFromResultHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:UserArrayFromResult extensions.