Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\MediaWiki\Hooks\GetPreferences Class Reference
Inheritance diagram for SMW\MediaWiki\Hooks\GetPreferences:
Inheritance graph
[legend]
Collaboration diagram for SMW\MediaWiki\Hooks\GetPreferences:
Collaboration graph
[legend]

Public Member Functions

 __construct (User $user)
 
 process (array &$preferences)
 
- Public Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 __construct ()
 
 setOptions (array $options)
 
 setOption ( $key, $value)
 
 getOption ( $key, $default=null)
 
 isFlagSet ( $key, $flag)
 

Additional Inherited Members

- Protected Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 log ( $message, $context=[])
 

Detailed Description

Hook: GetPreferences adds user preference

See also
https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences

GNU GPL v2+

Since
2.0
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\Hooks\GetPreferences::__construct ( User  $user)
Since
2.0
Parameters
User$user

Member Function Documentation

◆ process()

SMW\MediaWiki\Hooks\GetPreferences::process ( array &  $preferences)
Since
2.0
Parameters
array&$preferences
Returns
true

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

About | General disclaimer | Privacy policy