Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $curTitle) | |
addChild ( $child) | |
getLastNodeForLevel ( $level) | |
Static Public Member Functions | |
static | newFromWikiText ( $wikitext) |
static | newFromTopCategory ( $top_category) |
Public Attributes | |
$title | |
$children | |
A class that defines a tree - and can populate it based on either wikitext or a category structure.
|
static |
string | $top_category |
|
static |
Turn a manually-created "structure", defined as a bulleted list in wikitext, into a tree. This is based on the concept originated by the "menuselect" input type in the Semantic Forms Inputs extension - the difference here is that the text is manually parsed, instead of being run through the MediaWiki parser.
string | $wikitext |