|
static | byName (string $name) |
| Return the Mode object with the given name, or null if the name is invalid.
|
|
◆ __construct()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::__construct |
( |
?string | $mode = null | ) |
|
|
protected |
◆ boxStyle()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::boxStyle |
( |
| $width, |
|
|
| $height ) |
|
protected |
- Parameters
-
float | int | $width | |
float | int | $height | |
- Returns
- string
◆ boxWidth()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::boxWidth |
( |
| $width | ) |
|
|
protected |
- Parameters
-
- Returns
- float|int
◆ dimensions()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::dimensions |
( |
Opts | $opts | ) |
|
◆ galleryText()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::galleryText |
( |
Document | $doc, |
|
|
Element | $box, |
|
|
?Element | $gallerytext, |
|
|
float | $width ) |
|
protected |
◆ getModuleStyles()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::getModuleStyles |
( |
| ) |
|
◆ perRow()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::perRow |
( |
Opts | $opts, |
|
|
Element | $ul ) |
|
protected |
◆ render()
◆ scaleMedia()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::scaleMedia |
( |
Opts | $opts, |
|
|
Element | $wrapper ) |
|
protected |
◆ setAdditionalOptions()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::setAdditionalOptions |
( |
Opts | $opts, |
|
|
Element | $ul ) |
|
protected |
◆ thumbHeight()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::thumbHeight |
( |
| $height | ) |
|
|
protected |
- Parameters
-
- Returns
- float|int
◆ thumbStyle()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::thumbStyle |
( |
| $width, |
|
|
| $height, |
|
|
bool | $hasError ) |
|
protected |
- Parameters
-
float | int | $width | |
float | int | $height | |
bool | $hasError | |
- Returns
- string
◆ thumbWidth()
Wikimedia\Parsoid\Ext\Gallery\TraditionalMode::thumbWidth |
( |
| $width | ) |
|
|
protected |
- Parameters
-
- Returns
- float|int
The documentation for this class was generated from the following file:
- src/Ext/Gallery/TraditionalMode.php