MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
Loading...
Searching...
No Matches
HookHandler Class Reference
+ Inheritance diagram for HookHandler:

Public Member Functions

 onRecentChange_save ( $recentChange)
 This method name comes from the hook and cannot be changed, phpcs should not complain (the interface for this hook is imported with a use statement, and the implements only has the final interface name.
 
 onSpecialPage_initList (&$list)
 This method name comes from the hook and cannot be changed, phpcs should not complain (the interface for this hook is not imported with a use statement, and the implements has the fully qualified name.
 
 onUploadForm_initial ( $upload)
 This method is not inherited from an interface, and can be changed, phpcs should complain, even though it looks like a hook handler.
 
 getThe_thing ()
 This method is not inherited from an interface and does not look like a hook handler, phpcs should complain.
 

Member Function Documentation

◆ getThe_thing()

HookHandler::getThe_thing ( )

This method is not inherited from an interface and does not look like a hook handler, phpcs should complain.

Returns
bool

◆ onRecentChange_save()

HookHandler::onRecentChange_save ( $recentChange)

This method name comes from the hook and cannot be changed, phpcs should not complain (the interface for this hook is imported with a use statement, and the implements only has the final interface name.

Parameters
RecentChange$recentChange
Returns
bool|void True or no return value to continue or false to abort

◆ onSpecialPage_initList()

HookHandler::onSpecialPage_initList ( & $list)

This method name comes from the hook and cannot be changed, phpcs should not complain (the interface for this hook is not imported with a use statement, and the implements has the fully qualified name.

Parameters
array&$listList of core special pages
Returns
bool|void True or no return value to continue or false to abort

◆ onUploadForm_initial()

HookHandler::onUploadForm_initial ( $upload)

This method is not inherited from an interface, and can be changed, phpcs should complain, even though it looks like a hook handler.

Parameters
SpecialUpload$upload
Returns
bool|void True or no return value to continue or false to abort

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