Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\ParserOutput\TermboxFlag Class Reference

Public Member Functions

 __construct (SettingsArray $settings, ExtensionRegistry $extensionRegistry)
 
 shouldRenderTermbox ()
 Determines whether the Termbox should be rendered. More...
 

Static Public Member Functions

static getInstance ()
 

Public Attributes

const TERMBOX_FLAG = 'termboxEnabled'
 

Private Attributes

 $settings
 
 $extensionRegistry
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\ParserOutput\TermboxFlag::__construct ( SettingsArray  $settings,
ExtensionRegistry  $extensionRegistry 
)

Member Function Documentation

◆ getInstance()

static Wikibase\Repo\ParserOutput\TermboxFlag::getInstance ( )
static

◆ shouldRenderTermbox()

Wikibase\Repo\ParserOutput\TermboxFlag::shouldRenderTermbox ( )

Determines whether the Termbox should be rendered.

Returns
bool

Member Data Documentation

◆ $extensionRegistry

Wikibase\Repo\ParserOutput\TermboxFlag::$extensionRegistry
private

◆ $settings

Wikibase\Repo\ParserOutput\TermboxFlag::$settings
private

◆ TERMBOX_FLAG

const Wikibase\Repo\ParserOutput\TermboxFlag::TERMBOX_FLAG = 'termboxEnabled'

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