Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Protection\EditProtectionUpdater Class Reference
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

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

Member Function Documentation

SMW\Protection\EditProtectionUpdater::doUpdateFrom ( SemanticData  $semanticData)
Since
2.5
Parameters
SemanticData$semanticData
SMW\Protection\EditProtectionUpdater::isRestrictedUpdate ( )
Since
2.5
Returns
boolean
SMW\Protection\EditProtectionUpdater::setEditProtectionRight (   $editProtectionRight)
Since
2.5
Parameters
string | boolean$editProtectionRight
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: