Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SWL\MediaWiki\Hooks\UserSaveOptions Class Reference

Public Member Functions

 __construct (TableUpdater $tableUpdater, User $user, array &$options)
 
 execute ()
 

Protected Member Functions

 performUpdate (array $groupIds)
 

Detailed Description

Called just before saving user preferences/options in order to find the watchlist groups the user watches, and update the swl_users_per_group table.

https://www.mediawiki.org/wiki/Manual:Hooks/UserSaveOptions

GNU GPL v2+

Since
1.0
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
mwjames

Constructor & Destructor Documentation

◆ __construct()

SWL\MediaWiki\Hooks\UserSaveOptions::__construct ( TableUpdater  $tableUpdater,
User  $user,
array &  $options 
)
Since
1.0
Parameters
TableUpdater$tableUpdater
User$user
array&$options

Member Function Documentation

◆ execute()

SWL\MediaWiki\Hooks\UserSaveOptions::execute ( )
Since
1.0
Returns
boolean

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy