Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Ext\Gallery\Opts Class Reference

Public Member Functions

 __construct (ParsoidExtensionAPI $extApi, array $attrs)
 Parse options from an attribute array.
 

Public Attributes

 $attrs
 
 $imagesPerRow
 
 $imageWidth
 
 $imageHeight
 
 $mode
 
 $showfilename
 
 $showthumbnails
 
 $caption
 

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Parsoid\Ext\Gallery\Opts::__construct ( ParsoidExtensionAPI $extApi,
array $attrs )

Parse options from an attribute array.

Parameters
ParsoidExtensionAPI$extApi
array<string,string>$attrs The attribute array

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