MediaWiki  1.30.0
DjVuSupport Class Reference

Initialize and detect the DjVu files support. More...

Public Member Functions

 __construct ()
 Initialises DjVu tools global with default values. More...
 
 isEnabled ()
 Returns true if the DjVu tools are usable. More...
 

Detailed Description

Initialize and detect the DjVu files support.

Definition at line 26 of file DjVuSupport.php.

Constructor & Destructor Documentation

◆ __construct()

DjVuSupport::__construct ( )

Initialises DjVu tools global with default values.

Definition at line 31 of file DjVuSupport.php.

References $wgDjvuDump, $wgDjvuRenderer, $wgDjvuToXML, $wgDjvuTxt, $wgFileExtensions, and global.

Member Function Documentation

◆ isEnabled()

DjVuSupport::isEnabled ( )

Returns true if the DjVu tools are usable.

Returns
bool

Definition at line 49 of file DjVuSupport.php.

References $wgDjvuDump, $wgDjvuRenderer, $wgDjvuToXML, $wgDjvuTxt, and global.


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