Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5941069
MMLmroot.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1000 B
Referenced Files
None
Subscribers
None
MMLmroot.php
View Options
<?php
namespace
MediaWiki\Extension\Math\WikiTexVC\MMLnodes
;
/**
* Presentation MathML 3 Element
* name: "mroot"
* description: "form a radical with specified index"
* category: "General Layout Schemata"
*/
class
MMLmroot
extends
MMLbase
{
public
function
__construct
(
string
$texclass
=
""
,
array
$attributes
=
[]
)
{
parent
::
__construct
(
"mroot"
,
$texclass
,
$attributes
);
}
/**
* Creates a new subtree element with base and scripts
* @param MMLbase $base Radicand
* @param MMLbase $index Root degree
* @param string $texclass Optional TeX class for styling
* @param array $attributes Additional HTML attributes for the element
* @return static New instance with children in order: [base, index]
*/
public
static
function
newSubtree
(
MMLbase
$base
,
MMLbase
$index
,
string
$texclass
=
""
,
array
$attributes
=
[]
)
{
$instance
=
new
self
(
$texclass
,
$attributes
);
$instance
->
children
=
[
$base
,
$index
];
return
$instance
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 2 2026, 17:13 (6 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
49/1e/3bd8a814b7ba82f174aed0825821
Default Alt Text
MMLmroot.php (1000 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment