BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
ReviewExtended Class Reference
Inheritance diagram for ReviewExtended:
Collaboration diagram for ReviewExtended:

Public Member Functions

 onBeforePageDisplay (&$out, &$skin)
 
 onBuildDbQuery ($sQueryKey, &$tables, &$fields, &$conds, &$options, &$join_conds, $oTitle, $oParams, $oUser)
 
 onCheckStatusAfterMessage ($step, $oReviewView)
 
 onConstructReviewProcess (&$aInjections)
 
 onBsReviewAfterMakeJSDataObject ($oReview, &$oData)
 
- Public Member Functions inherited from BsExtensionMW
 setCore ($oCore)
 
 getInfo ()
 
 setup ($sExtName="", $aConfig=array())
 
 setHook ($hook, $method=false, $bExecuteFirst=false)
 
 setContext (\IContextSource $context)
 
 setConfig (\Config $config)
 
 getResourcePath ()
 
 getName ()
 
 getExtensionKey ()
 
 getExtensionPath ()
 
 getImagePath ($bResources=false)
 
 getCacheKey ($sSubKey= 'default')
 
 makeTagExtensionDefinitions ()
 
- Public Member Functions inherited from BlueSpice\Extension
 jsonSerialize ()
 
 __construct (array $definition,\IContextSource $context,\Config $config)
 
 getInfo ()
 
 getResourcePath ()
 
 getExtensionPath ()
 
 getName ()
 
 getAuthors ()
 
 getStatus ()
 
 getPackage ()
 
 getUrl ()
 
 getVersion ()
 
 getExtensionKey ()
 
- Public Member Functions inherited from BlueSpice\Context
 __construct (\IContextSource $context,\Config $config)
 
 canUseWikiPage ()
 
 exportSession ()
 
 getConfig ()
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getStats ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 
 msg ($key)
 

Static Public Member Functions

static onRegistration ()
 
static doDelegate (User $oDelegateToUser, Title $oTitle=null, User $oUser=null)
 
static doRedelegate (Title $oTitle=null, User $oUser=null)
 
static doSaveTemplate (stdClass $oData, User $oUser=null)
 
static doDeleteTemplate ($iTemplateId, User $oUser=null)
 
static addToHistQuery (HistoryPager $pager, array &$queryInfo)
 
static addToHistLine (HistoryPager $history, $row, &$s, &$liClasses)
 
static onBsReviewDataBeforeSafe ($sMethodKey, &$data, $oTitle, $oParams, $oUser, &$oStatus, $oReviewProcess)
 
static getReviewHistoryRowsFromIds ($aIDs=array())
 
static getSchemaUpdates ($updater)
 
static onUnitTestsList (&$paths)
 

Protected Member Functions

 initExt ()
 
- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 

Static Protected Member Functions

static registerNotifications ()
 

Additional Inherited Members

- Protected Attributes inherited from BsExtensionMW
 $mExtensionKey = null
 
 $mExtensionFile = null
 
 $mExtensionType = null
 
 $mInfo = null
 
 $mResourcePath = null
 
 $sName = ''
 
 $sStatus = ''
 
 $sPackage = ''
 
 $mCore = null
 
 $aStandardContext = array( '*', '*', '*' )
 
- Protected Attributes inherited from BlueSpice\Extension
 $extPath = ''
 
 $name = ''
 
 $authors = []
 
 $version = ''
 
 $url = ''
 
 $status = ''
 
 $package = ''
 
- Protected Attributes inherited from BlueSpice\Context
 $context = null
 
 $config = null
 

Member Function Documentation

static ReviewExtended::addToHistLine ( HistoryPager  $history,
  $row,
$s,
$liClasses 
)
static
Parameters
HistoryPager$history
stdClass$row
string$s
string$liClasses
Returns
boolean
static ReviewExtended::addToHistQuery ( HistoryPager  $pager,
array &  $queryInfo 
)
static

Add Review to history

Parameters
HistoryPager$pager
array$queryInfo
Returns
boolean
static ReviewExtended::doDelegate ( User  $oDelegateToUser,
Title  $oTitle = null,
User  $oUser = null 
)
static

Delegate review step to another user

Parameters
User$oDelegateToUser
Title$oTitle
User$oUser
Returns
Status
static ReviewExtended::doDeleteTemplate (   $iTemplateId,
User  $oUser = null 
)
static

Deletes a review process template

Parameters
integer$iTemplateId
User$oUser
Returns
Status
static ReviewExtended::doRedelegate ( Title  $oTitle = null,
User  $oUser = null 
)
static

Redelegate a review step to the original user

Parameters
Title$oTitle
User$oUser
Returns
Status
static ReviewExtended::doSaveTemplate ( stdClass  $oData,
User  $oUser = null 
)
static

Saves a review procsess template

Parameters
stdClass$oData
User$oUser
Returns
Status
static ReviewExtended::getReviewHistoryRowsFromIds (   $aIDs = array())
static
Parameters
array$aIDs
Returns
array
static ReviewExtended::getSchemaUpdates (   $updater)
static

Sets up required database tables

Parameters
DatabaseUpdater$updaterProvided by MediaWikis update.php
Returns
boolean Always true to keep the hook running
ReviewExtended::initExt ( )
protected

Initialization of Review extension

ReviewExtended::onBeforePageDisplay ( $out,
$skin 
)

Adds Styles and Scripts to Page

Parameters
OutputPage$out
Skin$skin
Returns
boolean
ReviewExtended::onBsReviewAfterMakeJSDataObject (   $oReview,
$oData 
)
Parameters
BsReviewProcess$oReview
stdClass$oData
Returns
boolean
static ReviewExtended::onBsReviewDataBeforeSafe (   $sMethodKey,
$data,
  $oTitle,
  $oParams,
  $oUser,
$oStatus,
  $oReviewProcess 
)
static
Parameters
string$sMethodKey
array$data
Title$oTitle
stdClass$oParams
User$oUser
Status$oStatus
BsReviewProcess$oReviewProcess
Returns
boolean
static ReviewExtended::onUnitTestsList ( $paths)
static

Hook handler for UnitTestList

Parameters
array$paths
Returns
boolean

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