Parsoid
A bidirectional parser between wikitext and HTML5
Parsoid\Utils\TitleNamespace Class Reference

Public Member Functions

 __construct (int $id, SiteConfig $siteConfig)
 
 getId ()
 Get the ID. More...
 
 isATalkNamespace ()
 
 isUser ()
 
 isUserTalk ()
 
 isMedia ()
 
 isFile ()
 
 isCategory ()
 

Detailed Description

Deprecated:
Use namespace IDs and SiteConfig methods instead.

Constructor & Destructor Documentation

◆ __construct()

Parsoid\Utils\TitleNamespace::__construct ( int  $id,
SiteConfig  $siteConfig 
)
Parameters
int$id
SiteConfig$siteConfig

Member Function Documentation

◆ getId()

Parsoid\Utils\TitleNamespace::getId ( )

Get the ID.

Returns
int

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