Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7404864
MMLmroot.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
998 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|string $base Radicand
* @param MMLbase|string $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
(
$base
,
$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
Sat, Nov 21, 19:26 (21 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
12/ad/318b9bc950a71adf8acf0c7b196b
Default Alt Text
MMLmroot.php (998 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment