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

Public Member Functions

 __construct (WikiPage $wikiPage, User $user=null)
 
 setLogger (LoggerInterface $logger)
 
 setEditProtectionRight ( $editProtectionRight)
 
 isRestrictedUpdate ()
 
 doUpdateFrom (SemanticData $semanticData)
 

Detailed Description

GNU GPL v2+

Since
2.5
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\Protection\EditProtectionUpdater::__construct ( WikiPage  $wikiPage,
User  $user = null 
)
Since
2.5
Parameters
WikiPage$wikiPage
User | null$user

Member Function Documentation

◆ doUpdateFrom()

SMW\Protection\EditProtectionUpdater::doUpdateFrom ( SemanticData  $semanticData)
Since
2.5
Parameters
SemanticData$semanticData

◆ isRestrictedUpdate()

SMW\Protection\EditProtectionUpdater::isRestrictedUpdate ( )
Since
2.5
Returns
boolean

◆ setEditProtectionRight()

SMW\Protection\EditProtectionUpdater::setEditProtectionRight (   $editProtectionRight)
Since
2.5
Parameters
string | boolean$editProtectionRight

◆ setLogger()

SMW\Protection\EditProtectionUpdater::setLogger ( LoggerInterface  $logger)
See also
LoggerAwareInterface::setLogger
Since
2.5
Parameters
LoggerInterface$logger

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

About | General disclaimer | Privacy policy