MediaWiki master
MediaWiki\Content\ValidationParams Class Reference

Public Member Functions

 __construct (PageIdentity $pageIdentity, int $flags, int $parentRevId=-1)
 
 getFlags ()
 
 getPageIdentity ()
 
 getParentRevisionId ()
 

Detailed Description

Since
1.38 An object to hold validation params.

Definition at line 10 of file ValidationParams.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Content\ValidationParams::__construct ( PageIdentity $pageIdentity,
int $flags,
int $parentRevId = -1 )

Definition at line 15 of file ValidationParams.php.

Member Function Documentation

◆ getFlags()

MediaWiki\Content\ValidationParams::getFlags ( )

Definition at line 25 of file ValidationParams.php.

◆ getPageIdentity()

MediaWiki\Content\ValidationParams::getPageIdentity ( )

◆ getParentRevisionId()

MediaWiki\Content\ValidationParams::getParentRevisionId ( )
Deprecated
since 1.38. Born soft-deprecated as we will move usage of it to MultiContentSaveHook in ProofreadPage (only one place of usage).

Definition at line 33 of file ValidationParams.php.


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