Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Wt2Html\PageConfigFrame Class Reference

A special subclass of frame used for the topmost frame in the environment; gets most of its actual data from a PageConfig object. More...

+ Inheritance diagram for Wikimedia\Parsoid\Wt2Html\PageConfigFrame:
+ Collaboration diagram for Wikimedia\Parsoid\Wt2Html\PageConfigFrame:

Public Member Functions

 __construct (Env $env, PageConfig $pageConfig, SiteConfig $siteConfig)
 Create a top-level frame.
 
- Public Member Functions inherited from Wikimedia\Parsoid\Wt2Html\Frame
 __construct (Title $title, Env $env, array $args, string $srcText, ?Frame $parentFrame=null)
 
 getEnv ()
 
 getTitle ()
 
 getArgs ()
 
 getSrcText ()
 
 newChild (Title $title, array $args, string $srcText)
 Create a new child frame.
 
 expand (array $chunk, array $options)
 Expand / convert a thunk (a chunk of tokens not yet fully expanded).
 
 loopAndDepthCheck (Title $title, int $maxDepth, bool $ignoreLoop)
 Check if expanding a template would lead to a loop, or would exceed the maximum expansion depth.
 
 expandTemplateArg (Token $tplArgToken)
 

Detailed Description

A special subclass of frame used for the topmost frame in the environment; gets most of its actual data from a PageConfig object.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Parsoid\Wt2Html\PageConfigFrame::__construct ( Env $env,
PageConfig $pageConfig,
SiteConfig $siteConfig )

Create a top-level frame.

Parameters
Env$env
PageConfig$pageConfig
SiteConfig$siteConfig

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